1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 17:00:01 +00:00

rename var

This commit is contained in:
Roman Masanin 2020-10-05 19:05:13 +03:00
parent 4fd93fea51
commit a6a1de5006
2 changed files with 4 additions and 4 deletions

View file

@ -56,7 +56,7 @@ CExplosion::ClearAllExplosions()
gaExplosion[i].m_nIteration = 0; gaExplosion[i].m_nIteration = 0;
gaExplosion[i].m_fStartTime = 0.0f; gaExplosion[i].m_fStartTime = 0.0f;
gaExplosion[i].m_bIsBoat = false; gaExplosion[i].m_bIsBoat = false;
gaExplosion[i].m_bIsMakeSound = true; gaExplosion[i].m_bMakeSound = true;
} }
} }
@ -92,7 +92,7 @@ CExplosion::GetExplosionType(uint8 id)
bool bool
CExplosion::DoesExplosionMakeSound(uint8 id) CExplosion::DoesExplosionMakeSound(uint8 id)
{ {
return gaExplosion[id].m_bIsMakeSound; return gaExplosion[id].m_bMakeSound;
}; };
CVector * CVector *
@ -140,7 +140,7 @@ CExplosion::AddExplosion(CEntity *explodingEntity, CEntity *culprit, eExplosionT
explosion.m_nIteration = 1; explosion.m_nIteration = 1;
explosion.m_nActiveCounter = 1; explosion.m_nActiveCounter = 1;
explosion.m_bIsBoat = false; explosion.m_bIsBoat = false;
explosion.m_bIsMakeSound = makeSound; explosion.m_bMakeSound = makeSound;
explosion.m_nParticlesExpireTime = lifetime != 0 ? CTimer::GetTimeInMilliseconds() + lifetime : 0; explosion.m_nParticlesExpireTime = lifetime != 0 ? CTimer::GetTimeInMilliseconds() + lifetime : 0;
switch (type) switch (type)
{ {

View file

@ -31,7 +31,7 @@ class CExplosion
uint8 m_nIteration; uint8 m_nIteration;
uint8 m_nActiveCounter; uint8 m_nActiveCounter;
bool m_bIsBoat; bool m_bIsBoat;
bool m_bIsMakeSound; bool m_bMakeSound;
float m_fStartTime; float m_fStartTime;
uint32 m_nParticlesExpireTime; uint32 m_nParticlesExpireTime;
float m_fPower; float m_fPower;