Browse Source

* fix for finishing battles in hot-seat

mateuszb 15 years ago
parent
commit
acbfa7a6b9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      client/CBattleInterface.cpp

+ 2 - 1
client/CBattleInterface.cpp

@@ -3756,8 +3756,9 @@ void CBattleResultWindow::show(SDL_Surface *to)
 
 void CBattleResultWindow::bExitf()
 {
+	CPlayerInterface * intTmp = owner->curInt;
 	GH.popInts(2); //first - we; second - battle interface
-	owner->curInt->showingDialog->setn(false);
+	intTmp->showingDialog->setn(false);
 	CGI->videoh->close();
 }