1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00
This commit is contained in:
Michał W. Urbańczyk
2011-08-25 21:08:53 +00:00
parent 4c3ed24fe1
commit 4f20c5a376
4 changed files with 15 additions and 6 deletions

View File

@@ -894,7 +894,7 @@ void CPlayerInterface::battleAttack(const BattleAttack *ba)
void CPlayerInterface::yourTacticPhase(int distance)
{
while(battleInt->tacticsMode)
while(battleInt && battleInt->tacticsMode)
boost::this_thread::sleep(boost::posix_time::millisec(1));
}