File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed
GeneralsMD/Code/GameEngine/Source/Common/RTS
Generals/Code/GameEngine/Source/Common/RTS Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -83,13 +83,10 @@ PlayerList::PlayerList() :
8383// -----------------------------------------------------------------------------
8484PlayerList::~PlayerList ()
8585{
86- try {
87- // the world is happier if we reinit things before destroying them,
88- // to avoid debug warnings
89- init ();
90- } catch (...) {
91- // nothing
92- }
86+ // the world is happier if we reinit things before destroying them,
87+ // to avoid debug warnings
88+ init ();
89+
9390 for ( Int i = 0 ; i < MAX_PLAYER_COUNT; ++i )
9491 delete m_players[ i ];
9592}
Original file line number Diff line number Diff line change @@ -83,13 +83,10 @@ PlayerList::PlayerList() :
8383// -----------------------------------------------------------------------------
8484PlayerList::~PlayerList ()
8585{
86- try {
87- // the world is happier if we reinit things before destroying them,
88- // to avoid debug warnings
89- init ();
90- } catch (...) {
91- // nothing
92- }
86+ // the world is happier if we reinit things before destroying them,
87+ // to avoid debug warnings
88+ init ();
89+
9390 for ( Int i = 0 ; i < MAX_PLAYER_COUNT; ++i )
9491 delete m_players[ i ];
9592}
You can’t perform that action at this time.
0 commit comments