1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

* significant speed-up in def loading

* bugfixes (player's id - player's serial mismatches)
This commit is contained in:
mateuszb
2008-03-06 16:42:34 +00:00
parent 26592feb02
commit f1e40d5e86
6 changed files with 54 additions and 23 deletions

View File

@@ -185,6 +185,17 @@ void CBattleInterface::bSurrenderf()
void CBattleInterface::bFleef()
{
for(int i=0; i<LOCPLINT->objsToBlit.size(); ++i)
{
if( dynamic_cast<CBattleInterface*>( LOCPLINT->objsToBlit[i] ) )
{
LOCPLINT->objsToBlit.erase(LOCPLINT->objsToBlit.begin()+i);
}
}
deactivate();
LOCPLINT->adventureInt->activate();
delete this;
}
void CBattleInterface::bAutofightf()