diff options
author | blingu <36486731+blingu@users.noreply.github.com> | 2020-03-26 14:19:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-26 14:19:55 +0100 |
commit | 0e9101594031fb9468d639ab6e4b57449cd8997c (patch) | |
tree | 11ea17fbd9d886f4f2b60664661469b202b4b748 /src | |
parent | Update Fire.cpp (diff) | |
download | re3-0e9101594031fb9468d639ab6e4b57449cd8997c.tar re3-0e9101594031fb9468d639ab6e4b57449cd8997c.tar.gz re3-0e9101594031fb9468d639ab6e4b57449cd8997c.tar.bz2 re3-0e9101594031fb9468d639ab6e4b57449cd8997c.tar.lz re3-0e9101594031fb9468d639ab6e4b57449cd8997c.tar.xz re3-0e9101594031fb9468d639ab6e4b57449cd8997c.tar.zst re3-0e9101594031fb9468d639ab6e4b57449cd8997c.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp index 6aa12841..ac0da52c 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -32,7 +32,7 @@ void CVehicle::operator delete(void *p, int handle) { CPools::GetVehiclePool()-> WRAPPER bool CVehicle::ShufflePassengersToMakeSpace(void) { EAXJMP(0x5528A0); } // or Weapon.cpp? WRAPPER void FireOneInstantHitRound(CVector *shotSource, CVector *shotTarget, int32 damage) { EAXJMP(0x563B00); } -WRAPPER void CVehicle::InflictDamage(CVehicle *damagedBy, uint32 weaponType, float damage) { EAXJMP(0x551950); } +WRAPPER void CVehicle::InflictDamage(CEntity *damagedBy, uint32 weaponType, float damage) { EAXJMP(0x551950); } CVehicle::CVehicle(uint8 CreatedBy) { |