diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-01 12:19:42 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-01 12:19:42 +0100 |
commit | ceab73a053d1513c8a40354a3e502bc1c3f01819 (patch) | |
tree | 80db097ad3fe1e56ab0d72b9dbe6a7d0d3fbb6c1 /src/vehicles/Vehicle.h | |
parent | removed debug leftovers (diff) | |
parent | Merge pull request #339 from erorcun/erorcun (diff) | |
download | re3-ceab73a053d1513c8a40354a3e502bc1c3f01819.tar re3-ceab73a053d1513c8a40354a3e502bc1c3f01819.tar.gz re3-ceab73a053d1513c8a40354a3e502bc1c3f01819.tar.bz2 re3-ceab73a053d1513c8a40354a3e502bc1c3f01819.tar.lz re3-ceab73a053d1513c8a40354a3e502bc1c3f01819.tar.xz re3-ceab73a053d1513c8a40354a3e502bc1c3f01819.tar.zst re3-ceab73a053d1513c8a40354a3e502bc1c3f01819.zip |
Diffstat (limited to 'src/vehicles/Vehicle.h')
-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; |