1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

CGTownInstance: erase all stacks when town is captured by enemy

This commit is contained in:
Arseniy Shestakov
2016-02-22 03:33:15 +03:00
parent d15106bf63
commit 9428f865d3
2 changed files with 10 additions and 0 deletions

View File

@@ -239,6 +239,7 @@ public:
void mergeGarrisonOnSiege() const; // merge garrison into army of visiting hero
void removeCapitols (PlayerColor owner) const;
void clearArmy() const;
void addHeroToStructureVisitors(const CGHeroInstance *h, si32 structureInstanceID) const; //hero must be visiting or garrisoned in town
CGTownInstance();