summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-22 01:12:03 +0100
committerGitHub <noreply@github.com>2021-01-22 01:12:03 +0100
commitc8236d0dd2b287cec7018308bdfa3cfcd3275960 (patch)
treea822c0866ac062e4b2abada3701d04c2933393f4 /src/entities
parentMerge pull request #963 from Nick007J/lcs (diff)
parentUpdate ParticleObject.h (diff)
downloadre3-c8236d0dd2b287cec7018308bdfa3cfcd3275960.tar
re3-c8236d0dd2b287cec7018308bdfa3cfcd3275960.tar.gz
re3-c8236d0dd2b287cec7018308bdfa3cfcd3275960.tar.bz2
re3-c8236d0dd2b287cec7018308bdfa3cfcd3275960.tar.lz
re3-c8236d0dd2b287cec7018308bdfa3cfcd3275960.tar.xz
re3-c8236d0dd2b287cec7018308bdfa3cfcd3275960.tar.zst
re3-c8236d0dd2b287cec7018308bdfa3cfcd3275960.zip
Diffstat (limited to 'src/entities')
-rw-r--r--src/entities/Physical.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp
index 5ce7bd72..de60c400 100644
--- a/src/entities/Physical.cpp
+++ b/src/entities/Physical.cpp
@@ -715,6 +715,7 @@ CPhysical::ApplyCollision(CPhysical *B, CColPoint &colpoint, float &impulseA, fl
int16 model = B->GetModelIndex();
if(model == MI_FIRE_HYDRANT && !Bobj->bHasBeenDamaged){
CParticleObject::AddObject(POBJECT_FIRE_HYDRANT, B->GetPosition() - CVector(0.0f, 0.0f, 0.5f), true);
+ CParticleObject::AddObject(POBJECT_FIRE_HYDRANT_STEAM, B->GetPosition() - CVector(0.0f, 0.0f, 0.5f), true);
Bobj->bHasBeenDamaged = true;
}else if(model == MI_PARKINGMETER || model == MI_PARKINGMETER2){
CPickups::CreateSomeMoney(GetPosition(), CGeneral::GetRandomNumber()%100);