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 df06f10 commit acf46a7Copy full SHA for acf46a7
Client/mods/deathmatch/logic/luadefs/CLuaEngineDefs.cpp
@@ -312,6 +312,9 @@ int CLuaEngineDefs::EngineLoadIFP ( lua_State* luaVM )
312
// Try to load the IFP file
313
if ( pIFP->LoadIFP ( strPath, strBlockName ) )
314
{
315
+ // We can use the map to retrieve correct IFP by block name later
316
+ g_pClientGame->InsertIFPPointerToMap ( strBlockName, pIFP );
317
+
318
// Success loading the file. Set parent to IFP root
319
pIFP->SetParent ( pRoot );
320
0 commit comments