diff options
author | majestic <majesticcoding@gmail.com> | 2020-10-09 04:22:50 +0200 |
---|---|---|
committer | majestic <majesticcoding@gmail.com> | 2020-10-09 04:28:31 +0200 |
commit | c091a5c11a826665f083ee7e73635f03aa4b550d (patch) | |
tree | 21f0d517e5210b1bc28d39ebfe67c2b0bcbb2772 /src/control | |
parent | Merge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff) | |
parent | Fix POSIX streaming (diff) | |
download | re3-c091a5c11a826665f083ee7e73635f03aa4b550d.tar re3-c091a5c11a826665f083ee7e73635f03aa4b550d.tar.gz re3-c091a5c11a826665f083ee7e73635f03aa4b550d.tar.bz2 re3-c091a5c11a826665f083ee7e73635f03aa4b550d.tar.lz re3-c091a5c11a826665f083ee7e73635f03aa4b550d.tar.xz re3-c091a5c11a826665f083ee7e73635f03aa4b550d.tar.zst re3-c091a5c11a826665f083ee7e73635f03aa4b550d.zip |
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Garages.cpp | 2 | ||||
-rw-r--r-- | src/control/Script.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp index 290bacad..dc07d142 100644 --- a/src/control/Garages.cpp +++ b/src/control/Garages.cpp @@ -1462,7 +1462,7 @@ void CGarage::UpdateCrusherShake(float X, float Y) } // This is dumb but there is no way to avoid goto. What was there originally even? -static bool DoINeedToRefreshPointer(CEntity * pDoor, bool bIsDummy, int8 nIndex) +static bool DoINeedToRefreshPointer(CEntity * pDoor, bool bIsDummy, uint8 nIndex) { bool bNeedToFindDoorEntities = false; if (pDoor) { diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 95e93b6c..aa4e109f 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -12020,7 +12020,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command) script_assert(pVehicle); bool bIsBurst = false; CBike* pBike = (CBike*)pVehicle; - if (pVehicle->m_vehType == VEHICLE_APPEARANCE_BIKE) { + if (pVehicle->IsBike()) { if (ScriptParams[1] == 4) { for (int i = 0; i < 2; i++) { if (pBike->m_wheelStatus[i] == WHEEL_STATUS_BURST) |