Skip to content

Commit 57cc1aa

Browse files
committed
fix
1 parent 9f5d421 commit 57cc1aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4937,7 +4937,7 @@ bool CStaticFunctionDefinitions::GiveVehicleSirens(CVehicle* pVehicle, unsigned
49374937
if (ucSirenType < 1 || ucSirenType > 6)
49384938
return false;
49394939

4940-
if (ucSirenCount < 0 || ucSirenCount > SIREN_COUNT_MAX)
4940+
if (ucSirenCount > SIREN_COUNT_MAX)
49414941
return false;
49424942

49434943
pVehicle->m_tSirenBeaconInfo.m_bOverrideSirens = true;

0 commit comments

Comments
 (0)