From d3aa5b68207564ac56bacb0382fb47c959f5a6dd Mon Sep 17 00:00:00 2001 From: mateuszb Date: Tue, 1 Jun 2010 17:40:15 +0000 Subject: [PATCH] * possibly fixed problems with crashes on winning resources in creature bank --- client/CBattleInterface.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/client/CBattleInterface.cpp b/client/CBattleInterface.cpp index e8b18312a..7db9baada 100644 --- a/client/CBattleInterface.cpp +++ b/client/CBattleInterface.cpp @@ -1418,6 +1418,8 @@ void CBattleInterface::deactivate() void CBattleInterface::show(SDL_Surface * to) { + if(bresult) + return; std::map stacks = curInt->cb->battleGetStacks(); //used in a few places ++animCount; if(!to) //"evaluating" to @@ -1653,12 +1655,6 @@ void CBattleInterface::show(SDL_Surface * to) bConsoleUp->show(to); bConsoleDown->show(to); - //showing window with result of battle - if(resWindow) - { - resWindow->show(to); - } - //showing in-game console LOCPLINT->cingconsole->show(to);