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 27bbeac commit 0ce219aCopy full SHA for 0ce219a
Server/mods/deathmatch/logic/luadefs/CLuaColShapeDefs.cpp
@@ -55,7 +55,7 @@ int CLuaColShapeDefs::GetColShapeType(lua_State* luaVM)
55
CLuaMain* pLuaMain = m_pLuaManager->GetVirtualMachine(luaVM);
56
if (pLuaMain)
57
{
58
- lua_pushnumber(luaVM, pColShape->GetShapeType() + 1); // start from 1 not 0
+ lua_pushnumber(luaVM, pColShape->GetShapeType());
59
return 1;
60
}
61
0 commit comments