diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2019-10-13 00:35:01 +0200 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2019-10-26 13:05:00 +0200 |
commit | d822417cfce5ce0120481bd37271ebde6117b14c (patch) | |
tree | 6cb4988959c8076d29f5b2ff6b5182a02f03e2be /src/vehicles | |
parent | Fix rebasing (diff) | |
download | re3-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.cpp | 4 |
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); } } } |