summaryrefslogtreecommitdiffstats
path: root/src/weapons/Weapon.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-06-16 00:38:26 +0200
committereray orçunus <erayorcunus@gmail.com>2020-06-16 19:35:09 +0200
commitc6bb1f5d0d70f24f02fd5967f2732c7e8be3781a (patch)
tree891b2defe753ccf5cd698ad54585a141fe37132b /src/weapons/Weapon.h
parentBike anim. fix (diff)
downloadre3-c6bb1f5d0d70f24f02fd5967f2732c7e8be3781a.tar
re3-c6bb1f5d0d70f24f02fd5967f2732c7e8be3781a.tar.gz
re3-c6bb1f5d0d70f24f02fd5967f2732c7e8be3781a.tar.bz2
re3-c6bb1f5d0d70f24f02fd5967f2732c7e8be3781a.tar.lz
re3-c6bb1f5d0d70f24f02fd5967f2732c7e8be3781a.tar.xz
re3-c6bb1f5d0d70f24f02fd5967f2732c7e8be3781a.tar.zst
re3-c6bb1f5d0d70f24f02fd5967f2732c7e8be3781a.zip
Diffstat (limited to '')
-rw-r--r--src/weapons/Weapon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/weapons/Weapon.h b/src/weapons/Weapon.h
index cb1d9835..5c56d9e4 100644
--- a/src/weapons/Weapon.h
+++ b/src/weapons/Weapon.h
@@ -2,7 +2,7 @@
#include "WeaponType.h"
-#define DRIVEBYAUTOAIMING_MAXDIST (2.5f)
+#define CAR_DRIVEBYAUTOAIMING_MAXDIST (2.5f)
#define DOOMAUTOAIMING_MAXDIST (9000.0f)
class CEntity;
@@ -56,7 +56,7 @@ public:
static void DoDoomAiming (CEntity *shooter, CVector *source, CVector *target);
static void DoTankDoomAiming (CEntity *shooter, CEntity *driver, CVector *source, CVector *target);
- static void DoDriveByAutoAiming(CEntity *shooter, CVector *source, CVector *target);
+ static void DoDriveByAutoAiming(CEntity *driver, CVehicle *vehicle, CVector *source, CVector *target);
void Reload(void);
void Update(int32 audioEntity, CPed *pedToAdjustSound);