mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Use topographic map for town selection screen.
This commit is contained in:
parent
ab4e3d23e3
commit
2e6d55a78b
@ -149,6 +149,8 @@ impl WorldData {
|
||||
|
||||
pub fn map_image(&self) -> &Arc<DynamicImage> { &self.map.0[0] }
|
||||
|
||||
pub fn topo_map_image(&self) -> &Arc<DynamicImage> { &self.map.0[1] }
|
||||
|
||||
pub fn min_chunk_alt(&self) -> f32 { self.map.2.x }
|
||||
|
||||
pub fn max_chunk_alt(&self) -> f32 { self.map.2.y }
|
||||
|
@ -1972,7 +1972,7 @@ impl CharSelectionUi {
|
||||
default_name,
|
||||
client.server_info(),
|
||||
ui.add_graphic(Graphic::Image(
|
||||
Arc::clone(client.world_data().map_image()),
|
||||
Arc::clone(client.world_data().topo_map_image()),
|
||||
Some(default_water_color()),
|
||||
)),
|
||||
client.sites()
|
||||
|
Loading…
Reference in New Issue
Block a user