1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Build fix

This commit is contained in:
Tomasz Zieliński 2024-05-01 10:45:01 +02:00
parent 7f3cf607a7
commit acab1d38cf
2 changed files with 1 additions and 8 deletions

View File

@ -432,10 +432,7 @@ int3 rmg::Object::getGuardPos() const
}
}
}
else
{
return int3(-1,-1,-1);
}
return int3(-1,-1,-1);
}
void rmg::Object::setValue(size_t newValue)

View File

@ -145,10 +145,6 @@ void RoadPlacer::drawRoads(bool secondary)
const auto* terrain = map.getTile(pos).terType;
return !terrain->isPassable() || !terrain->isLand();
});
// FIXME: This area should still be available after road is created
//zone.areaPossible()->subtract(roads);
//zone.freePaths()->unite(roads);
}
if(!generator.getMapGenOptions().isRoadEnabled())