mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
VCAI: silence callback on visibility check
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user