summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Boat.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-07 00:01:48 +0200
committeraap <aap@papnet.eu>2020-06-07 00:01:59 +0200
commit5711159e684e0612739ee66d3cd7e4444c7dc72d (patch)
tree85b6b6eb77087268c3c0134561913833deef892c /src/vehicles/Boat.cpp
parentfix (diff)
downloadre3-5711159e684e0612739ee66d3cd7e4444c7dc72d.tar
re3-5711159e684e0612739ee66d3cd7e4444c7dc72d.tar.gz
re3-5711159e684e0612739ee66d3cd7e4444c7dc72d.tar.bz2
re3-5711159e684e0612739ee66d3cd7e4444c7dc72d.tar.lz
re3-5711159e684e0612739ee66d3cd7e4444c7dc72d.tar.xz
re3-5711159e684e0612739ee66d3cd7e4444c7dc72d.tar.zst
re3-5711159e684e0612739ee66d3cd7e4444c7dc72d.zip
Diffstat (limited to 'src/vehicles/Boat.cpp')
-rw-r--r--src/vehicles/Boat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index 99b6cbb8..2da58ed7 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -975,7 +975,7 @@ CBoat::DoDriveByShootings(void)
if (!anim || !anim->IsRunning()) {
if (CPad::GetPad(0)->GetCarGunFired() && CTimer::GetTimeInMilliseconds() > weapon->m_nTimer) {
- weapon->FireFromCar(this, lookingLeft);
+ weapon->FireFromCar(this, lookingLeft, true);
weapon->m_nTimer = CTimer::GetTimeInMilliseconds() + 70;
}
}