mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Implemented explicitly visitable town buildings, e.g. hota mana vortex
Added flag `manualHeroVisit` flag to town building. If this flag is set, then building will only be activated on click and will not give its effect on hero recrutiment, hero visit, or new day. This allows implementing changes to Mana Vortex from HotA
This commit is contained in:
@@ -582,9 +582,9 @@ void BuildStructure::visitTyped(ICPackVisitor & visitor)
|
||||
visitor.visitBuildStructure(*this);
|
||||
}
|
||||
|
||||
void TriggerTownSpecialBuildingAction::visitTyped(ICPackVisitor & visitor)
|
||||
void VisitTownBuilding::visitTyped(ICPackVisitor & visitor)
|
||||
{
|
||||
visitor.visitTriggerTownSpecialBuildingAction(*this);
|
||||
visitor.visitVisitTownBuilding(*this);
|
||||
}
|
||||
|
||||
void RazeStructure::visitTyped(ICPackVisitor & visitor)
|
||||
|
||||
Reference in New Issue
Block a user