1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-21 21:17:49 +02:00

Silence unnecessary warning on flagging guarded garrison

This commit is contained in:
Ivan Savenko 2023-07-27 18:39:05 +03:00
parent a188d55685
commit b8110218c0

View File

@ -176,7 +176,7 @@ void CObjectVisitQuery::onExposure(QueryPtr topQuery)
if(gh->isValidObject(visitedObject))
topQuery->notifyObjectAboutRemoval(*this);
owner->popQuery(*this);
owner->popIfTop(*this);
}
void Queries::popQuery(PlayerColor player, QueryPtr query)