Explorar o código

Silence unnecessary warning on flagging guarded garrison

Ivan Savenko %!s(int64=2) %!d(string=hai) anos
pai
achega
b8110218c0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      server/CQuery.cpp

+ 1 - 1
server/CQuery.cpp

@@ -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)