Skip to content

Commit 0a6820e

Browse files
committed
fixes wrong syntax
1 parent e3099fa commit 0a6820e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Client/mods/deathmatch/logic/luadefs/CLuaVehicleDefs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ std::optional<unsigned char> CLuaVehicleDefs::GetVehicleWheelState(CClientVehicl
988988
return std::nullopt;
989989

990990
if (wheelIndex >= MAX_WHEELS)
991-
return std::nullopt
991+
return std::nullopt;
992992

993993
return vehicle->GetWheelStatus(static_cast<eWheelPosition>(wheelIndex));
994994
}

Server/mods/deathmatch/logic/luadefs/CLuaVehicleDefs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@ int CLuaVehicleDefs::GetVehicleWheelStates(lua_State* luaVM)
13241324

13251325
std::variant<unsigned char, bool> CLuaVehicleDefs::GetVehicleWheelState(CVehicle* vehicle, unsigned char wheelIndex)
13261326
{
1327-
unsigned char wheelState
1327+
unsigned char wheelState;
13281328
if (CStaticFunctionDefinitions::GetVehicleWheelState(vehicle, wheelIndex, wheelState))
13291329
{
13301330
return wheelState;

0 commit comments

Comments
 (0)