diff options
author | aap <aap@papnet.eu> | 2021-08-16 00:25:14 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-08-16 00:25:14 +0200 |
commit | f4894952fcf2b906051801d86959776b31908c95 (patch) | |
tree | 1af229690dc5feb9d910196b195ff146bd10646d /src/vehicles | |
parent | work on CAutomobile (diff) | |
parent | small revision (diff) | |
download | re3-f4894952fcf2b906051801d86959776b31908c95.tar re3-f4894952fcf2b906051801d86959776b31908c95.tar.gz re3-f4894952fcf2b906051801d86959776b31908c95.tar.bz2 re3-f4894952fcf2b906051801d86959776b31908c95.tar.lz re3-f4894952fcf2b906051801d86959776b31908c95.tar.xz re3-f4894952fcf2b906051801d86959776b31908c95.tar.zst re3-f4894952fcf2b906051801d86959776b31908c95.zip |
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 3 | ||||
-rw-r--r-- | src/vehicles/Vehicle.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp index 523d12db..7784bc07 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -83,6 +83,9 @@ CVehicle::CVehicle(uint8 CreatedBy) m_fGasPedal = 0.0f; m_fBrakePedal = 0.0f; m_fWheelSpin = 0.0f; +#if defined FIX_BUGS || !defined GTA_PSP + bRewardVehicle = false; +#endif m_vehLCS_29E = 0; m_vehLCS_29C = 0; m_vehLCS_2A3 = -1; diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h index 535d6536..fa2f988c 100644 --- a/src/vehicles/Vehicle.h +++ b/src/vehicles/Vehicle.h @@ -248,7 +248,7 @@ public: #if (!defined GTA_PS2 || defined FIX_BUGS) // <- I think this can be moved back to CAutomobile? uint8 m_bombType : 3; #endif - uint8 bDriverLastFrame : 1; + uint8 bDriverLastFrame : 1; // originally not in CVehicle (TODO - carbomb stuff) uint8 bRewardVehicle : 1; // 25B_40 int8 m_numPedsUseItAsCover; |