mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-14 22:50:45 +00:00
Astyle
This commit is contained in:
parent
6510531ad8
commit
80c48e3895
2 changed files with 7 additions and 7 deletions
|
@ -48,7 +48,7 @@ struct gameReturn_t
|
|||
{
|
||||
|
||||
gameReturn_t() :
|
||||
sessionCommand( "" ), // SRS - Explicitly init sessionCommand otherwise can be optimized out and skipped with gcc or Apple clang
|
||||
sessionCommand( "" ), // SRS - Explicitly init sessionCommand otherwise can be optimized out and skipped with gcc or Apple clang
|
||||
syncNextGameFrame( false ),
|
||||
vibrationLow( 0 ),
|
||||
vibrationHigh( 0 )
|
||||
|
|
|
@ -1540,18 +1540,18 @@ void idCommonLocal::Shutdown()
|
|||
ImGuiHook::Destroy();
|
||||
|
||||
printf( "delete renderWorld;\n" );
|
||||
// SRS - Call FreeRenderWorld() vs. delete, otherwise worlds list not updated on shutdown
|
||||
renderSystem->FreeRenderWorld( renderWorld );
|
||||
// SRS - Call FreeRenderWorld() vs. delete, otherwise worlds list not updated on shutdown
|
||||
renderSystem->FreeRenderWorld( renderWorld );
|
||||
renderWorld = NULL;
|
||||
|
||||
printf( "delete soundWorld;\n" );
|
||||
// SRS - Call FreeSoundWorld() vs. delete, otherwise soundWorlds list not updated and can segfault in soundSystem->Shutdown()
|
||||
soundSystem->FreeSoundWorld( soundWorld );
|
||||
// SRS - Call FreeSoundWorld() vs. delete, otherwise soundWorlds list not updated and can segfault in soundSystem->Shutdown()
|
||||
soundSystem->FreeSoundWorld( soundWorld );
|
||||
soundWorld = NULL;
|
||||
|
||||
printf( "delete menuSoundWorld;\n" );
|
||||
// SRS - Call FreeSoundWorld() vs. delete, otherwise soundWorlds list not updated and can segfault in soundSystem->Shutdown()
|
||||
soundSystem->FreeSoundWorld( menuSoundWorld );
|
||||
// SRS - Call FreeSoundWorld() vs. delete, otherwise soundWorlds list not updated and can segfault in soundSystem->Shutdown()
|
||||
soundSystem->FreeSoundWorld( menuSoundWorld );
|
||||
menuSoundWorld = NULL;
|
||||
|
||||
// shut down the session
|
||||
|
|
Loading…
Reference in a new issue