mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-23 16:21:15 +00:00
Use enum
This commit is contained in:
parent
8e9448c7b7
commit
169ef63009
@ -292,7 +292,7 @@ inline void GasStation::PlayAction(GarageScript::Script p_objectId)
|
|||||||
// FUNCTION: BETA10 0x10029f00
|
// FUNCTION: BETA10 0x10029f00
|
||||||
inline void GasStation::StopAction(GarageScript::Script p_objectId)
|
inline void GasStation::StopAction(GarageScript::Script p_objectId)
|
||||||
{
|
{
|
||||||
if (p_objectId != -1) {
|
if (p_objectId != GarageScript::c_noneGarage) {
|
||||||
InvokeAction(Extra::e_stop, *g_garageScript, p_objectId, NULL);
|
InvokeAction(Extra::e_stop, *g_garageScript, p_objectId, NULL);
|
||||||
BackgroundAudioManager()->RaiseVolume();
|
BackgroundAudioManager()->RaiseVolume();
|
||||||
m_state->FUN_10006460(p_objectId);
|
m_state->FUN_10006460(p_objectId);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user