1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-08 23:22:25 +02:00

remove not needed var

This commit is contained in:
Laserlicht
2025-07-20 03:09:04 +02:00
parent 2751ada585
commit c928acfc25

View File

@@ -460,11 +460,6 @@ 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)
{