diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-07-03 10:08:19 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-07-03 10:08:19 +0200 |
commit | 48ebbb72924bf5afbf7518bd1534521e1aa43bcc (patch) | |
tree | 3c35f91c2cde87e4b334b01f576ba368262fb27d /src/control/Garages.cpp | |
parent | fix (diff) | |
download | re3-48ebbb72924bf5afbf7518bd1534521e1aa43bcc.tar re3-48ebbb72924bf5afbf7518bd1534521e1aa43bcc.tar.gz re3-48ebbb72924bf5afbf7518bd1534521e1aa43bcc.tar.bz2 re3-48ebbb72924bf5afbf7518bd1534521e1aa43bcc.tar.lz re3-48ebbb72924bf5afbf7518bd1534521e1aa43bcc.tar.xz re3-48ebbb72924bf5afbf7518bd1534521e1aa43bcc.tar.zst re3-48ebbb72924bf5afbf7518bd1534521e1aa43bcc.zip |
Diffstat (limited to 'src/control/Garages.cpp')
-rw-r--r-- | src/control/Garages.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp index 88654141..7175d393 100644 --- a/src/control/Garages.cpp +++ b/src/control/Garages.cpp @@ -347,7 +347,7 @@ void CGarage::Update() FindPlayerPed()->m_pWanted->m_bIgnoredByCops = true; } else { - CGarages::TriggerMessage("GA_3", -1, 4000, -1); // No more freebies. $1000 to respray! + CGarages::TriggerMessage("GA_3", -1, 4000, -1); // No more freebies. $100 to respray! m_eGarageState = GS_OPENEDCONTAINSCAR; DMAudio.PlayFrontEndSound(SOUND_GARAGE_NO_MONEY, 1); } @@ -1096,7 +1096,7 @@ bool CGarage::IsStaticPlayerCarEntirelyInside() { if (!FindPlayerVehicle()) return false; - if (!FindPlayerVehicle()->IsCar()) + if (!FindPlayerVehicle()->IsCar() && !FindPlayerVehicle()->IsBike()) return false; if (FindPlayerPed()->GetPedState() != PED_DRIVING) return false; |