[saco] Implement/match CVehicle::IsSirenOn()

This commit is contained in:
RD42 2024-08-20 23:20:41 +08:00
parent dfafccbf37
commit 08ec2c3591
2 changed files with 8 additions and 0 deletions

View File

@ -204,5 +204,12 @@ void CVehicle::SetSirenOn(BYTE byteState)
//----------------------------------------------------------- //-----------------------------------------------------------
BOOL CVehicle::IsSirenOn()
{
return (m_pVehicle->bSirenOn == 1);
}
//-----------------------------------------------------------
//----------------------------------------------------------- //-----------------------------------------------------------

View File

@ -45,6 +45,7 @@ public:
BOOL HasADriver(); BOOL HasADriver();
void SetSirenOn(BYTE byteState); void SetSirenOn(BYTE byteState);
BOOL IsSirenOn();
void SetEngineState(BOOL bState); void SetEngineState(BOOL bState);