home · contact · privacy
Client: reload_interface_conf() calls map_center() to re-focus map on player.
[plomrogue] / src / client / misc.c
index 12f80bbd3421f639ba8f51a358346c7781d1bba2..be6faeb9c7a0e5e5ddf2a4ce21e998d97bb53df9 100644 (file)
@@ -8,6 +8,7 @@
 #include "keybindings.h" /* init_keybindings(), free_keybindings(),
                           * save_keybindings()
                           */
+#include "map_window.h" /* for map_center() */
 #include "wincontrol.h" /* init_winconfs(), init_wins(),
                          * sorted_wintoggle_and_activate()
                          */
@@ -67,6 +68,7 @@ extern void reload_interface_conf()
 {
     unload_interface_conf();
     load_interface_conf();
+    map_center();
 }