summaryrefslogtreecommitdiffstats
path: root/src/control/Garages.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-07-04 21:24:23 +0200
committerGitHub <noreply@github.com>2020-07-04 21:24:23 +0200
commit2c50cf8ac6a24129d63bd8ed5c42c2df14d51d66 (patch)
tree80309bd9483c238a85d37b3a90c1ab3b54b4bc28 /src/control/Garages.cpp
parentMerge pull request #647 from Fire-Head/miami (diff)
parentice cream attractor + bike respray (diff)
downloadre3-2c50cf8ac6a24129d63bd8ed5c42c2df14d51d66.tar
re3-2c50cf8ac6a24129d63bd8ed5c42c2df14d51d66.tar.gz
re3-2c50cf8ac6a24129d63bd8ed5c42c2df14d51d66.tar.bz2
re3-2c50cf8ac6a24129d63bd8ed5c42c2df14d51d66.tar.lz
re3-2c50cf8ac6a24129d63bd8ed5c42c2df14d51d66.tar.xz
re3-2c50cf8ac6a24129d63bd8ed5c42c2df14d51d66.tar.zst
re3-2c50cf8ac6a24129d63bd8ed5c42c2df14d51d66.zip
Diffstat (limited to '')
-rw-r--r--src/control/Garages.cpp4
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;