aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/map/icon_texture_manager.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/map/icon_texture_manager.rs b/src/client/map/icon_texture_manager.rs
index b64638c..b7e9c7c 100644
--- a/src/client/map/icon_texture_manager.rs
+++ b/src/client/map/icon_texture_manager.rs
@@ -76,7 +76,7 @@ impl IconTextureManager {
from_reader(ron).expect("Could not parse icon info from reader.")
} else {
IconFileInfo {
- anchor: Vec2::new(texture.width as f64, texture.height as f64),
+ anchor: Vec2::new(texture.width as f64 / 2., texture.height as f64 / 2.),
pixels_per_m: ICON_DEFAULT_PPM,
}
};