mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Build fix
This commit is contained in:
parent
7f3cf607a7
commit
acab1d38cf
@ -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)
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user