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:
parent
a188d55685
commit
b8110218c0
@ -176,7 +176,7 @@ void CObjectVisitQuery::onExposure(QueryPtr topQuery)
|
|||||||
if(gh->isValidObject(visitedObject))
|
if(gh->isValidObject(visitedObject))
|
||||||
topQuery->notifyObjectAboutRemoval(*this);
|
topQuery->notifyObjectAboutRemoval(*this);
|
||||||
|
|
||||||
owner->popQuery(*this);
|
owner->popIfTop(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Queries::popQuery(PlayerColor player, QueryPtr query)
|
void Queries::popQuery(PlayerColor player, QueryPtr query)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user