reduced memory leaks

This commit is contained in:
nehalmistry 2003-06-09 06:21:44 +00:00
parent cc488fea3d
commit 8df8a66267
2 changed files with 5 additions and 0 deletions

View file

@ -277,6 +277,10 @@ global void CreateGame(char* filename, WorldMap* map)
return;
}
LoadCcl();
LoadFonts();
InitVideoCursors();
if( filename ) {
s = NULL;
// FIXME: LibraryFile here?

View file

@ -1118,6 +1118,7 @@ global void MenuLoop(char* filename, WorldMap* map)
//
// Create the game.
//
CleanModules();
CreateGame(filename,map);
SetStatusLine(NameLine);