summaryrefslogtreecommitdiff
path: root/src/weapons/Weapon.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-06-16 01:38:26 +0300
committereray orçunus <erayorcunus@gmail.com>2020-06-16 20:35:09 +0300
commitc6bb1f5d0d70f24f02fd5967f2732c7e8be3781a (patch)
tree891b2defe753ccf5cd698ad54585a141fe37132b /src/weapons/Weapon.h
parent3a600b46849f4ce9161da94c19ca61cb397a2257 (diff)
some cutscene opcodes and heli guns
Diffstat (limited to 'src/weapons/Weapon.h')
-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);