From a6a1de5006134212a631087ec5a366e005d27043 Mon Sep 17 00:00:00 2001 From: Roman Masanin <36927roma@gmail.com> Date: Mon, 5 Oct 2020 19:05:13 +0300 Subject: [PATCH] rename var --- src/weapons/Explosion.cpp | 6 +++--- src/weapons/Explosion.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/weapons/Explosion.cpp b/src/weapons/Explosion.cpp index d53e15ca..515dff94 100644 --- a/src/weapons/Explosion.cpp +++ b/src/weapons/Explosion.cpp @@ -56,7 +56,7 @@ CExplosion::ClearAllExplosions() gaExplosion[i].m_nIteration = 0; gaExplosion[i].m_fStartTime = 0.0f; gaExplosion[i].m_bIsBoat = false; - gaExplosion[i].m_bIsMakeSound = true; + gaExplosion[i].m_bMakeSound = true; } } @@ -92,7 +92,7 @@ CExplosion::GetExplosionType(uint8 id) bool CExplosion::DoesExplosionMakeSound(uint8 id) { - return gaExplosion[id].m_bIsMakeSound; + return gaExplosion[id].m_bMakeSound; }; CVector * @@ -140,7 +140,7 @@ CExplosion::AddExplosion(CEntity *explodingEntity, CEntity *culprit, eExplosionT explosion.m_nIteration = 1; explosion.m_nActiveCounter = 1; explosion.m_bIsBoat = false; - explosion.m_bIsMakeSound = makeSound; + explosion.m_bMakeSound = makeSound; explosion.m_nParticlesExpireTime = lifetime != 0 ? CTimer::GetTimeInMilliseconds() + lifetime : 0; switch (type) { diff --git a/src/weapons/Explosion.h b/src/weapons/Explosion.h index 8fbfe63e..7aa02b63 100644 --- a/src/weapons/Explosion.h +++ b/src/weapons/Explosion.h @@ -31,7 +31,7 @@ class CExplosion uint8 m_nIteration; uint8 m_nActiveCounter; bool m_bIsBoat; - bool m_bIsMakeSound; + bool m_bMakeSound; float m_fStartTime; uint32 m_nParticlesExpireTime; float m_fPower;