summaryrefslogtreecommitdiffstats
path: root/src/weapons
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-07-20 19:56:03 +0200
committerGitHub <noreply@github.com>2020-07-20 19:56:03 +0200
commitf0f3ce018dc8da7d702bcb25755f8443d25796e6 (patch)
tree3c8e0c59894df98cba51f86b2169a35b10619f0f /src/weapons
parentFix OneShotPriority overflow (diff)
parentCPlaneTrails and CPlaneBanners done (diff)
downloadre3-f0f3ce018dc8da7d702bcb25755f8443d25796e6.tar
re3-f0f3ce018dc8da7d702bcb25755f8443d25796e6.tar.gz
re3-f0f3ce018dc8da7d702bcb25755f8443d25796e6.tar.bz2
re3-f0f3ce018dc8da7d702bcb25755f8443d25796e6.tar.lz
re3-f0f3ce018dc8da7d702bcb25755f8443d25796e6.tar.xz
re3-f0f3ce018dc8da7d702bcb25755f8443d25796e6.tar.zst
re3-f0f3ce018dc8da7d702bcb25755f8443d25796e6.zip
Diffstat (limited to 'src/weapons')
-rw-r--r--src/weapons/Explosion.cpp2
-rw-r--r--src/weapons/Explosion.h2
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,