浏览代码

* fix for finishing battles in hot-seat

mateuszb 15 年之前
父节点
当前提交
acbfa7a6b9
共有 1 个文件被更改,包括 2 次插入1 次删除
  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();
 }