mirror of
https://github.com/vcmi/vcmi.git
synced 2025-05-15 22:16:37 +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)
|
void rmg::Object::setValue(size_t newValue)
|
||||||
|
@ -145,10 +145,6 @@ void RoadPlacer::drawRoads(bool secondary)
|
|||||||
const auto* terrain = map.getTile(pos).terType;
|
const auto* terrain = map.getTile(pos).terType;
|
||||||
return !terrain->isPassable() || !terrain->isLand();
|
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())
|
if(!generator.getMapGenOptions().isRoadEnabled())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user