1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Fix regression from warnings_fix branch

This commit is contained in:
Ivan Savenko 2022-12-30 00:11:21 +02:00
parent c8cd8aaf10
commit 486c9612b8

View File

@ -402,7 +402,7 @@ int CGameInfoCallback::getDate(Date::EDateType mode) const
bool CGameInfoCallback::isVisible(int3 pos, boost::optional<PlayerColor> Player) const
{
//boost::shared_lock<boost::shared_mutex> lock(*gs->mx);
return gs->isVisible(pos, *Player);
return gs->isVisible(pos, Player);
}
bool CGameInfoCallback::isVisible(int3 pos) const