mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-06 10:34:08 +00:00
AnimViewer messages, Particle fix, Peds
This commit is contained in:
parent
41e8caeb6e
commit
39223901bf
11 changed files with 595 additions and 15 deletions
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue