diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-01 11:54:05 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-07 19:24:01 +0200 |
commit | c69edce8007178755d979f638852abb9359950c2 (patch) | |
tree | f041976b6ac5421582deae12e056b0d2e6e04ac2 /src/weapons/Explosion.h | |
parent | lcs specific hack (diff) | |
download | re3-c69edce8007178755d979f638852abb9359950c2.tar re3-c69edce8007178755d979f638852abb9359950c2.tar.gz re3-c69edce8007178755d979f638852abb9359950c2.tar.bz2 re3-c69edce8007178755d979f638852abb9359950c2.tar.lz re3-c69edce8007178755d979f638852abb9359950c2.tar.xz re3-c69edce8007178755d979f638852abb9359950c2.tar.zst re3-c69edce8007178755d979f638852abb9359950c2.zip |
Diffstat (limited to 'src/weapons/Explosion.h')
-rw-r--r-- | src/weapons/Explosion.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/weapons/Explosion.h b/src/weapons/Explosion.h index 7aa02b63..e76c99ea 100644 --- a/src/weapons/Explosion.h +++ b/src/weapons/Explosion.h @@ -37,7 +37,11 @@ class CExplosion float m_fPower; float m_fZshift; public: - static bool AddExplosion(CEntity *explodingEntity, CEntity *culprit, eExplosionType type, const CVector &pos, uint32 lifetime, bool makeSound = true); //done(new parametr in android ver is fix for one mission) +#ifdef SIMPLER_MISSIONS + static bool AddExplosion(CEntity *explodingEntity, CEntity *culprit, eExplosionType type, const CVector &pos, uint32 lifetime, bool makeSound = true, float radius = -1.0f); +#else + static bool AddExplosion(CEntity* explodingEntity, CEntity* culprit, eExplosionType type, const CVector& pos, uint32 lifetime, bool makeSound = true); +#endif static void ClearAllExplosions(); //done static bool DoesExplosionMakeSound(uint8 id); //done static int8 GetExplosionActiveCounter(uint8 id); //done |