diff --git a/client/CBattleInterface.cpp b/client/CBattleInterface.cpp index 2dd5d6a3f..98ba9ffef 100644 --- a/client/CBattleInterface.cpp +++ b/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(); }