Skip to content

Commit 81aa745

Browse files
committed
typo
1 parent c99e79d commit 81aa745

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3081,7 +3081,7 @@ bool CLuaVehicleDefs::SetVehicleSmokeTrailEnabled(CVehicle* vehicle, bool state)
30813081
return true;
30823082
}
30833083

3084-
bool CLuaVehicleDefs::IsVehicleSmokeTrailEnabled(CVehicle* vehicle)
3084+
bool CLuaVehicleDefs::IsVehicleSmokeTrailEnabled(CVehicle* vehicle) noexcept
30853085
{
30863086
return vehicle->IsSmokeTrailEnabled();
30873087
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,5 @@ class CLuaVehicleDefs : public CLuaDefs
129129
static bool SpawnVehicleFlyingComponent(CVehicle* const vehicle, std::uint8_t nodeIndex, std::optional<std::uint8_t> componentCollisionType, std::optional<std::uint32_t> removalTime);
130130
static bool SetVehicleNitroActivated(CVehicle* vehicle, bool state) noexcept;
131131
static bool SetVehicleSmokeTrailEnabled(CVehicle* vehicle, bool state);
132-
static bool IsVehicleSmokeTrailEnabled(CVehicle* vehicle);
132+
static bool IsVehicleSmokeTrailEnabled(CVehicle* vehicle) noexcept;
133133
};

0 commit comments

Comments
 (0)