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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user