Explorar el Código

* fix for finishing battles in hot-seat

mateuszb hace 15 años
padre
commit
acbfa7a6b9
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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();
 }