Skip to content

Commit ec6a4ad

Browse files
committed
correct type
1 parent 96c2a97 commit ec6a4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/mods/deathmatch/logic/rpc/CVehicleRPCs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ void CVehicleRPCs::SetVehicleNitroActivated(CClientEntity* pSourceEntity, NetBit
668668
return;
669669

670670
// If nitro level < 0, nitro is activated. (until nitro level reaches -1, at that point it will become 0 and increase instead of decrease)
671-
if ((vehicle->GetNitroLevel() < 0) == state)
671+
if ((vehicle->GetNitroLevel() < 0.0f) == state)
672672
return;
673673

674674
// Apply nitro level change

0 commit comments

Comments
 (0)