mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Commander can now die in a battle and will be automatically rised when visiting town.
This commit is contained in:
@@ -75,6 +75,7 @@ struct CasualtiesAfterBattle
|
||||
typedef std::pair<StackLocation, int> TStackAndItsNewCount;
|
||||
enum {ERASE = -1};
|
||||
std::vector<TStackAndItsNewCount> newStackCounts;
|
||||
si32 heroWithDeadCommander; //TODO: unify stack loactions
|
||||
|
||||
CasualtiesAfterBattle(const CArmedInstance *army, BattleInfo *bat);
|
||||
void takeFromArmy(CGameHandler *gh);
|
||||
|
||||
Reference in New Issue
Block a user