diff options
author | aap <aap@papnet.eu> | 2020-07-19 00:37:44 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-07-19 00:56:30 +0200 |
commit | e74b569115a9f9596a0cf2def74dd37117fe2aae (patch) | |
tree | 6e3489f7f060757e62a7d38d1ab7f20db5ae16f6 /src/weapons | |
parent | Fix OneShotPriority overflow (diff) | |
download | re3-e74b569115a9f9596a0cf2def74dd37117fe2aae.tar re3-e74b569115a9f9596a0cf2def74dd37117fe2aae.tar.gz re3-e74b569115a9f9596a0cf2def74dd37117fe2aae.tar.bz2 re3-e74b569115a9f9596a0cf2def74dd37117fe2aae.tar.lz re3-e74b569115a9f9596a0cf2def74dd37117fe2aae.tar.xz re3-e74b569115a9f9596a0cf2def74dd37117fe2aae.tar.zst re3-e74b569115a9f9596a0cf2def74dd37117fe2aae.zip |
Diffstat (limited to '')
-rw-r--r-- | src/weapons/Explosion.cpp | 2 | ||||
-rw-r--r-- | src/weapons/Explosion.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/weapons/Explosion.cpp b/src/weapons/Explosion.cpp index f4ad346d..74af1375 100644 --- a/src/weapons/Explosion.cpp +++ b/src/weapons/Explosion.cpp @@ -170,6 +170,7 @@ CExplosion::AddExplosion(CEntity *explodingEntity, CEntity *culprit, eExplosionT break; case EXPLOSION_CAR: case EXPLOSION_CAR_QUICK: + case EXPLOSION_BOAT: explosion.m_fRadius = 9.0f; explosion.m_fPower = 300.0f; explosion.m_fStopTime = lifetime + CTimer::GetTimeInMilliseconds() + 4250; @@ -205,6 +206,7 @@ CExplosion::AddExplosion(CEntity *explodingEntity, CEntity *culprit, eExplosionT } break; case EXPLOSION_HELI: + case EXPLOSION_HELI2: explosion.m_fRadius = 6.0f; explosion.m_fPower = 300.0f; explosion.m_fStopTime = lifetime + CTimer::GetTimeInMilliseconds() + 750; diff --git a/src/weapons/Explosion.h b/src/weapons/Explosion.h index c8539cca..cfa75ec1 100644 --- a/src/weapons/Explosion.h +++ b/src/weapons/Explosion.h @@ -10,7 +10,9 @@ enum eExplosionType EXPLOSION_ROCKET, EXPLOSION_CAR, EXPLOSION_CAR_QUICK, + EXPLOSION_BOAT, EXPLOSION_HELI, + EXPLOSION_HELI2, EXPLOSION_MINE, EXPLOSION_BARREL, EXPLOSION_TANK_GRENADE, |