1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Removed pointer to army from StackInstance

This commit is contained in:
Ivan Savenko
2025-03-18 23:30:06 +00:00
parent 16a06179cf
commit 63d00b080e
80 changed files with 260 additions and 280 deletions

View File

@@ -32,6 +32,8 @@ public:
virtual void updateMoraleBonusFromArmy();
void armyChanged() override;
CArmedInstance * getArmy() final { return this; }
const CArmedInstance * getArmy() const final { return this; }
//////////////////////////////////////////////////////////////////////////
//IConstBonusProvider