1
0

Fixed grass spread, closes #1743

- Removed the salt parameter in cFastRandom functions, it wasn't doing
what we thought it was following the move to C++11
This commit is contained in:
Tiger Wang
2015-03-14 00:59:53 +00:00
parent 57d2a09c8c
commit e94886c140
5 changed files with 8 additions and 41 deletions

View File

@@ -66,10 +66,8 @@ void cMapDecorator::Update(void)
{
cFastRandom Random;
Int64 WorldAge = m_Player->GetWorld()->GetWorldAge();
// TODO 2014-02-19 xdot: Refine
m_Rot = Random.NextInt(16, (int) WorldAge);
m_Rot = Random.NextInt(16);
}
else
{