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
|
||||
{
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user