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:
parent
03e9dd3bab
commit
cf4cb5c948
@ -1697,7 +1697,7 @@ void VCAI::validateVisitableObjs()
|
|||||||
auto shouldBeErased = [&](const CGObjectInstance *obj) -> bool
|
auto shouldBeErased = [&](const CGObjectInstance *obj) -> bool
|
||||||
{
|
{
|
||||||
if (obj)
|
if (obj)
|
||||||
return !cb->getObj(obj->id);
|
return !cb->getObj(obj->id, false); // no verbose output needed as we check object visibility
|
||||||
else
|
else
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user