mirror of
https://github.com/halpz/re3.git
synced 2025-07-20 19:09:48 +00:00
AnimViewer messages, Particle fix, Peds
This commit is contained in:
@ -442,13 +442,13 @@ void CParticleObject::UpdateClose(void)
|
||||
{
|
||||
this->m_nFrameCounter = 0;
|
||||
|
||||
int32 randVal; // BUG: unitialised can be used ??!!
|
||||
int32 randVal;
|
||||
if ( this->m_nCreationChance != 0 )
|
||||
randVal = CGeneral::GetRandomNumber() % this->m_nCreationChance;
|
||||
|
||||
if ( randVal != 0 && this->m_nCreationChance > 0
|
||||
|| randVal == 0 && (this->m_nCreationChance & 128) != 0
|
||||
|| this->m_nCreationChance == 0 )
|
||||
if ( this->m_nCreationChance == 0
|
||||
|| randVal == 0 && this->m_nCreationChance < 0
|
||||
|| randVal != 0 && this->m_nCreationChance > 0)
|
||||
{
|
||||
switch ( this->m_Type )
|
||||
{
|
||||
|
Reference in New Issue
Block a user