mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Quick fix for previous commit.
This commit is contained in:
@@ -527,7 +527,7 @@ void CGameHandler::endBattle(int3 tile, const CGHeroInstance *hero1, const CGHer
|
||||
|
||||
winLoseHandle(1<<sides[0] | 1<<sides[1]); //handle victory/loss of engaged players
|
||||
|
||||
if(result < BattleResult::SURRENDER) //loser has escaped or surrendered
|
||||
if(result == BattleResult::SURRENDER || result == BattleResult::ESCAPE) //loser has escaped or surrendered
|
||||
{
|
||||
SetAvailableHeroes sah;
|
||||
sah.player = loser;
|
||||
|
Reference in New Issue
Block a user