Procházet zdrojové kódy

Silence unnecessary warning on flagging guarded garrison

Ivan Savenko před 2 roky
rodič
revize
b8110218c0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)