1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

* possibly fixed problems with crashes on winning resources in creature bank

This commit is contained in:
mateuszb
2010-06-01 17:40:15 +00:00
parent 124f0dd401
commit d3aa5b6820

View File

@@ -1418,6 +1418,8 @@ void CBattleInterface::deactivate()
void CBattleInterface::show(SDL_Surface * to)
{
if(bresult)
return;
std::map<int, CStack> 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);