removed redundant delete of mPlayer[i]->game as it is already taken care of in the destructor for Player in the next line.
This commit is contained in:
@@ -288,7 +288,6 @@ GameObserver::~GameObserver(){
|
||||
SAFE_DELETE(phaseRing);
|
||||
SAFE_DELETE(replacementEffects);
|
||||
for (int i = 0; i < nbPlayers; ++i){
|
||||
SAFE_DELETE(players[i]->game);
|
||||
SAFE_DELETE(players[i]);
|
||||
}
|
||||
LOG("==GameObserver Destroyed==");
|
||||
|
||||
Reference in New Issue
Block a user