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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user