summaryrefslogtreecommitdiffstats
path: root/src/FastRandom.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-04-27 22:15:19 +0200
committerTycho <work.tycho+git@gmail.com>2014-04-27 22:15:19 +0200
commit71c51783f3fc73d7370714ebbb0cdd4c8206843c (patch)
tree8e4fcf954675b3149fea182298970e3753564aa7 /src/FastRandom.cpp
parentInitialised MetaArrays in BlockArea (diff)
downloadcuberite-71c51783f3fc73d7370714ebbb0cdd4c8206843c.tar
cuberite-71c51783f3fc73d7370714ebbb0cdd4c8206843c.tar.gz
cuberite-71c51783f3fc73d7370714ebbb0cdd4c8206843c.tar.bz2
cuberite-71c51783f3fc73d7370714ebbb0cdd4c8206843c.tar.lz
cuberite-71c51783f3fc73d7370714ebbb0cdd4c8206843c.tar.xz
cuberite-71c51783f3fc73d7370714ebbb0cdd4c8206843c.tar.zst
cuberite-71c51783f3fc73d7370714ebbb0cdd4c8206843c.zip
Diffstat (limited to '')
-rw-r--r--src/FastRandom.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FastRandom.cpp b/src/FastRandom.cpp
index c45261947..42bf5f3f9 100644
--- a/src/FastRandom.cpp
+++ b/src/FastRandom.cpp
@@ -91,7 +91,8 @@ int cFastRandom::m_SeedCounter = 0;
cFastRandom::cFastRandom(void) :
- m_Seed(m_SeedCounter++)
+ m_Seed(m_SeedCounter++),
+ m_Counter(0)
{
}