mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Cartographer/Observatory is now configurable object
This commit is contained in:
@@ -177,7 +177,7 @@ void ApplyClientNetPackVisitor::visitFoWChange(FoWChange & pack)
|
||||
}
|
||||
if(cl.getPlayerRelations(i.first, pack.player) != PlayerRelations::ENEMIES)
|
||||
{
|
||||
if(pack.mode)
|
||||
if(pack.mode == FoWChange::Mode::REVEAL)
|
||||
i.second->tileRevealed(pack.tiles);
|
||||
else
|
||||
i.second->tileHidden(pack.tiles);
|
||||
|
||||
Reference in New Issue
Block a user