mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
@ -164,6 +164,11 @@ void SetMovePoints::applyCl( CClient *cl )
|
||||
void FoWChange::applyCl( CClient *cl )
|
||||
{
|
||||
for(auto &i : cl->playerint)
|
||||
{
|
||||
if(cl->getPlayerRelations(i.first, player) == PlayerRelations::SAME_PLAYER && waitForDialogs && LOCPLINT == i.second.get())
|
||||
{
|
||||
LOCPLINT->waitWhileDialog();
|
||||
}
|
||||
if(cl->getPlayerRelations(i.first, player) != PlayerRelations::ENEMIES)
|
||||
{
|
||||
if(mode)
|
||||
@ -171,7 +176,7 @@ void FoWChange::applyCl( CClient *cl )
|
||||
else
|
||||
i.second->tileHidden(tiles);
|
||||
}
|
||||
|
||||
}
|
||||
cl->invalidatePaths();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user