From 80c48e389543580a6a116e32f7b74dfbbc8d3de4 Mon Sep 17 00:00:00 2001 From: Robert Beckebans Date: Sat, 11 Sep 2021 13:02:59 +0200 Subject: [PATCH] Astyle --- neo/d3xp/Game.h | 2 +- neo/framework/Common.cpp | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/neo/d3xp/Game.h b/neo/d3xp/Game.h index ce0d3cb8..527be502 100644 --- a/neo/d3xp/Game.h +++ b/neo/d3xp/Game.h @@ -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 ) diff --git a/neo/framework/Common.cpp b/neo/framework/Common.cpp index a91d286d..a55b02e1 100644 --- a/neo/framework/Common.cpp +++ b/neo/framework/Common.cpp @@ -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