summaryrefslogtreecommitdiffstats
path: root/src/FastRandom.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-28 20:16:37 +0200
committermadmaxoft <github@xoft.cz>2014-04-28 20:16:37 +0200
commit8ae472df864786417ce3e9ed8df186da2960bc02 (patch)
treeaecc48e1051d91638ed84250ec06ef764f12a2ab /src/FastRandom.cpp
parentMerge pull request #954 from mc-server/projectiles-split (diff)
parentRemoved static from combinators. (diff)
downloadcuberite-8ae472df864786417ce3e9ed8df186da2960bc02.tar
cuberite-8ae472df864786417ce3e9ed8df186da2960bc02.tar.gz
cuberite-8ae472df864786417ce3e9ed8df186da2960bc02.tar.bz2
cuberite-8ae472df864786417ce3e9ed8df186da2960bc02.tar.lz
cuberite-8ae472df864786417ce3e9ed8df186da2960bc02.tar.xz
cuberite-8ae472df864786417ce3e9ed8df186da2960bc02.tar.zst
cuberite-8ae472df864786417ce3e9ed8df186da2960bc02.zip
Diffstat (limited to 'src/FastRandom.cpp')
-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)
{
}