1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Extend AI garrison troop removal logic to all RoE campaigns to emulate

H3 logic
This commit is contained in:
Ivan Savenko
2024-11-17 13:52:16 +00:00
parent 4ccce20eda
commit 56ee307b3a
4 changed files with 16 additions and 12 deletions

View File

@@ -164,8 +164,8 @@ struct DLL_LINKAGE StartInfo : public Serializeable
// TODO: Must be client-side
std::string getCampaignName() const;
/// Controls hardcoded check for "Steadwick's Fall" scenario from "Dungeon and Devils" campaign
bool isSteadwickFallCampaignMission() const;
/// Controls hardcoded check for handling of garrisons by AI in Restoration of Erathia campaigns to match H3 behavior
bool isRestorationOfErathiaCampaign() const;
template <typename Handler>
void serialize(Handler &h)