home · contact · privacy
Fixed typo in SERVER_COMMANDS.
[plomrogue] / src / client / map.c
index 2a1d66f300a90d02eb09a0d9752b16dbbadfff38..af2f57c9621d4eb20fd8721c40d4425ac5662a95 100644 (file)
@@ -43,7 +43,7 @@ extern void map_center()
 {
     struct Win * win_map = get_win_by_id('m');
     win_map->center.y = world.player_pos.y;
-    win_map->center.x = world.player_pos.x * 2;
+    win_map->center.x = world.player_pos.x * 2 + (world.player_pos.y % 2);
 }