mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +00:00
Blood: cleanup of INI loading
* use snprintf instead of sprintf * keep the IniFile object local * get rid of the FreeGameData interface function, it only existed to free the global INI object.
This commit is contained in:
parent
bb6d6ae83b
commit
26ba62dc62
7 changed files with 54 additions and 91 deletions
|
@ -637,10 +637,6 @@ int GameMain()
|
|||
DeinitMenus();
|
||||
if (StatusBar) StatusBar->Destroy();
|
||||
StatusBar = nullptr;
|
||||
if (gi)
|
||||
{
|
||||
gi->FreeGameData(); // Must be done before taking down any subsystems.
|
||||
}
|
||||
S_StopMusic(true);
|
||||
if (soundEngine) delete soundEngine;
|
||||
soundEngine = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue