2
0
Laserlicht 4 сар өмнө
parent
commit
c928acfc25

+ 1 - 6
client/adventureMap/AdventureMapShortcuts.cpp

@@ -459,12 +459,7 @@ void AdventureMapShortcuts::zoom( int distance)
 }
 
 void AdventureMapShortcuts::search(bool next)
-{
-	// get all relevant objects
-	std::vector<ObjectInstanceID> visitableObjInstances;
-	for(auto & obj : GAME->interface()->cb->getAllVisitableObjs())
-		visitableObjInstances.push_back(obj->id);
-	
+{	
 	auto getColor = [](MapObjectID id ){
 		switch (id)
 		{