mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Made player interface tolerant to active stack removal.
This commit is contained in:
@ -5452,6 +5452,8 @@ void CGameHandler::runBattle()
|
||||
return true;
|
||||
if(battleResult.get())// battle is finished
|
||||
return true;
|
||||
if(next == nullptr)//active stack was been removed
|
||||
return true;
|
||||
return !next->alive();//active stack is dead
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user