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

Cartographer/Observatory is now configurable object

This commit is contained in:
Ivan Savenko
2023-10-04 14:11:13 +03:00
parent f3ed589e35
commit 98fd939ed6
24 changed files with 353 additions and 282 deletions

View File

@@ -1068,7 +1068,7 @@ void CGTownInstance::onTownCaptured(const PlayerColor & winner) const
setOwner(winner);
FoWChange fw;
fw.player = winner;
fw.mode = 1;
fw.mode = FoWChange::Mode::REVEAL;
cb->getTilesInRange(fw.tiles, getSightCenter(), getSightRadius(), winner, 1);
cb->sendAndApply(& fw);
}