We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94ecd6e commit b08f3ccCopy full SHA for b08f3cc
Server/mods/deathmatch/logic/luadefs/CLuaVehicleDefs.cpp
@@ -348,11 +348,8 @@ int CLuaVehicleDefs::GetVehicleType(lua_State* luaVM)
348
349
if (!argStream.HasErrors())
350
{
351
- if (ulModel >= 400 && ulModel < 610)
352
- {
353
- lua_pushstring(luaVM, CVehicleNames::GetVehicleTypeName(ulModel));
354
- return 1;
355
- }
+ lua_pushstring(luaVM, CVehicleNames::GetVehicleTypeName(ulModel));
+ return 1;
356
}
357
else
358
m_pScriptDebugging->LogCustom(luaVM, argStream.GetFullErrorMessage());
0 commit comments