diff --git a/saco/game/vehicle.cpp b/saco/game/vehicle.cpp index ee72fe8..263832c 100644 --- a/saco/game/vehicle.cpp +++ b/saco/game/vehicle.cpp @@ -204,5 +204,12 @@ void CVehicle::SetSirenOn(BYTE byteState) //----------------------------------------------------------- +BOOL CVehicle::IsSirenOn() +{ + return (m_pVehicle->bSirenOn == 1); +} + +//----------------------------------------------------------- + //----------------------------------------------------------- diff --git a/saco/game/vehicle.h b/saco/game/vehicle.h index 9acf556..32906c1 100644 --- a/saco/game/vehicle.h +++ b/saco/game/vehicle.h @@ -45,6 +45,7 @@ public: BOOL HasADriver(); void SetSirenOn(BYTE byteState); + BOOL IsSirenOn(); void SetEngineState(BOOL bState);