diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-01 15:44:37 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-01 15:44:37 +0100 |
commit | 90ff2f73ebecc460d84a7ee43baf4174c86f847f (patch) | |
tree | 12f4fb4b4f71c5cf32c9fc8bc3f8cc1aa38b7e33 /src/vehicles | |
parent | save/load (diff) | |
parent | review fixes (diff) | |
download | re3-90ff2f73ebecc460d84a7ee43baf4174c86f847f.tar re3-90ff2f73ebecc460d84a7ee43baf4174c86f847f.tar.gz re3-90ff2f73ebecc460d84a7ee43baf4174c86f847f.tar.bz2 re3-90ff2f73ebecc460d84a7ee43baf4174c86f847f.tar.lz re3-90ff2f73ebecc460d84a7ee43baf4174c86f847f.tar.xz re3-90ff2f73ebecc460d84a7ee43baf4174c86f847f.tar.zst re3-90ff2f73ebecc460d84a7ee43baf4174c86f847f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Vehicle.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h index 7e99258c..bd8df694 100644 --- a/src/vehicles/Vehicle.h +++ b/src/vehicles/Vehicle.h @@ -3,6 +3,7 @@ #include "Physical.h" #include "AutoPilot.h" #include "ModelIndices.h" +#include "AnimManager.h" class CPed; class CFire; @@ -269,7 +270,8 @@ public: bool IsAlarmOn(void) { return m_nAlarmState != 0 && m_nAlarmState != -1; } CVehicleModelInfo* GetModelInfo() { return (CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()); } bool IsTaxi(void) { return GetModelIndex() == MI_TAXI || GetModelIndex() == MI_CABBIE || GetModelIndex() == MI_BORGNINE; } - + AnimationId GetDriverAnim(void) { return IsCar() && bLowVehicle ? ANIM_CAR_LSIT : (IsBoat() && GetModelIndex() != MI_SPEEDER ? ANIM_DRIVE_BOAT : ANIM_CAR_SIT); } + static bool &bWheelsOnlyCheat; static bool &bAllDodosCheat; static bool &bCheat3; |