Skip to content

Commit 6b222fc

Browse files
authored
Merge pull request #990 from openmultiplayer/hual/landing_gear_state_invert
Fix inverted GetVehicleLandingGearState value
2 parents cf339e4 + 980858f commit 6b222fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/Components/Pawn/Scripting/Vehicle/Natives.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ SCRIPT_API(GetVehicleVirtualWorld, int(IVehicle& vehicle))
346346

347347
SCRIPT_API(GetVehicleLandingGearState, int(IVehicle& vehicle))
348348
{
349-
return !vehicle.getLandingGearState();
349+
return vehicle.getLandingGearState();
350350
}
351351

352352
SCRIPT_API(IsValidVehicle, bool(IVehicle* vehicle))

0 commit comments

Comments
 (0)