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() :
83
83
// -----------------------------------------------------------------------------
84
84
PlayerList::~PlayerList ()
85
85
{
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
+
93
90
for ( Int i = 0 ; i < MAX_PLAYER_COUNT; ++i )
94
91
delete m_players[ i ];
95
92
}
Original file line number Diff line number Diff line change @@ -83,13 +83,10 @@ PlayerList::PlayerList() :
83
83
// -----------------------------------------------------------------------------
84
84
PlayerList::~PlayerList ()
85
85
{
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
+
93
90
for ( Int i = 0 ; i < MAX_PLAYER_COUNT; ++i )
94
91
delete m_players[ i ];
95
92
}
You can’t perform that action at this time.
0 commit comments