home · contact · privacy
Added diagonal movement, with a 1.4 penalty.
[plomrogue] / src / client / misc.c
index 17a12da5d697f62059f9f37ce8768ac3d4d97ae7..09268b53ede3da51043910582ee16cc539e988ba 100644 (file)
@@ -18,7 +18,7 @@
 #include "keybindings.h" /* free_keybindings(), read_keybindings_from_file(),
                           * write_keybindings_to_file()
                           */
-#include "map_window.h" /* map_center() */
+#include "map.h" /* map_center() */
 #include "windows.h" /* free_winDB(), make_v_screen_and_init_win_sizes(),
                       * read_winconf_from_file(), write_winconf_of_id_to_file(),
                       * toggle_window()
@@ -129,6 +129,7 @@ extern void reload_interface_conf()
     unload_interface_conf();
     load_interface_conf();
     map_center();
+    world.winDB.v_screen_offset = 0;
 }