mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Removed creatureBank flag from battle, battles now receive BattleLayout
struct that defines how units are placed in combat
This commit is contained in:
@@ -512,7 +512,7 @@ void CGHeroInstance::onHeroVisit(const CGHeroInstance * h) const
|
||||
if(visitedTown) //we're in town
|
||||
visitedTown->onHeroVisit(h); //town will handle attacking
|
||||
else
|
||||
cb->startBattleI(h, this);
|
||||
cb->startBattle(h, this);
|
||||
}
|
||||
}
|
||||
else if(ID == Obj::PRISON)
|
||||
|
||||
Reference in New Issue
Block a user