Initalize counter in fastrandom
Fixes CID 43622
This commit is contained in:
parent
a2b1fa6520
commit
71c51783f3
@ -91,7 +91,8 @@ int cFastRandom::m_SeedCounter = 0;
|
|||||||
|
|
||||||
|
|
||||||
cFastRandom::cFastRandom(void) :
|
cFastRandom::cFastRandom(void) :
|
||||||
m_Seed(m_SeedCounter++)
|
m_Seed(m_SeedCounter++),
|
||||||
|
m_Counter(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user