summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-10-13 00:35:01 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-10-26 13:05:00 +0200
commitd822417cfce5ce0120481bd37271ebde6117b14c (patch)
tree6cb4988959c8076d29f5b2ff6b5182a02f03e2be /src/vehicles
parentFix rebasing (diff)
downloadre3-d822417cfce5ce0120481bd37271ebde6117b14c.tar
re3-d822417cfce5ce0120481bd37271ebde6117b14c.tar.gz
re3-d822417cfce5ce0120481bd37271ebde6117b14c.tar.bz2
re3-d822417cfce5ce0120481bd37271ebde6117b14c.tar.lz
re3-d822417cfce5ce0120481bd37271ebde6117b14c.tar.xz
re3-d822417cfce5ce0120481bd37271ebde6117b14c.tar.zst
re3-d822417cfce5ce0120481bd37271ebde6117b14c.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Automobile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index ab213beb..c0b3dd7c 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -2350,7 +2350,7 @@ CAutomobile::FireTruckControl(void)
Sin(m_fCarGunUD));
cannonDir = Multiply3x3(GetMatrix(), cannonDir);
cannonDir.z += (CGeneral::GetRandomNumber()&0xF)/1000.0f;
- CWaterCannon::UpdateOne((uintptr)this, &cannonPos, &cannonDir);
+ CWaterCannons::UpdateOne((uintptr)this, &cannonPos, &cannonDir);
}else if(m_status == STATUS_PHYSICS){
CFire *fire = gFireManager.FindFurthestFire_NeverMindFireMen(GetPosition(), 10.0f, 35.0f);
if(fire == nil)
@@ -2385,7 +2385,7 @@ CAutomobile::FireTruckControl(void)
Sin(m_fCarGunUD));
cannonDir = Multiply3x3(GetMatrix(), cannonDir);
cannonDir.z += (CGeneral::GetRandomNumber()&0xF)/1000.0f;
- CWaterCannon::UpdateOne((uintptr)this, &cannonPos, &cannonDir);
+ CWaterCannons::UpdateOne((uintptr)this, &cannonPos, &cannonDir);
}
}
}