1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

VCAI: silence callback on visibility check

This commit is contained in:
ArseniyShestakov 2015-12-08 04:18:31 +03:00
parent 03e9dd3bab
commit cf4cb5c948

View File

@ -1697,7 +1697,7 @@ void VCAI::validateVisitableObjs()
auto shouldBeErased = [&](const CGObjectInstance *obj) -> bool
{
if (obj)
return !cb->getObj(obj->id);
return !cb->getObj(obj->id, false); // no verbose output needed as we check object visibility
else
return true;