~CGEntCleaner() { for (int i=0; i<MAX_GENTITIES; i++) { gi.G2API_CleanGhoul2Models(g_entities[i].ghoul2); } }
/* ================= ShutdownGame ================= */ void ShutdownGame( void ) { gi.Printf ("==== ShutdownGame ====\n"); gi.Printf ("... ICARUS_Shutdown\n"); ICARUS_Shutdown (); //Shut ICARUS down gi.Printf ("... Reference Tags Cleared\n"); TAG_Init(); //Clear the reference tags gi.Printf ("... Navigation Data Cleared\n"); NAV_Shutdown(); // write all the client session data so we can get it back G_WriteSessionData(); /* Ghoul2 Insert Start */ gi.Printf ("... Ghoul2 Models Shutdown\n"); for (int i=0; i<MAX_GENTITIES; i++) { gi.G2API_CleanGhoul2Models(g_entities[i].ghoul2); } /* Ghoul2 Insert End */ }