home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Client: reload_interface_conf() calls map_center() to re-focus map on player.
[plomrogue]
/
src
/
client
/
misc.c
diff --git
a/src/client/misc.c
b/src/client/misc.c
index 12f80bbd3421f639ba8f51a358346c7781d1bba2..be6faeb9c7a0e5e5ddf2a4ce21e998d97bb53df9 100644
(file)
--- a/
src/client/misc.c
+++ b/
src/client/misc.c
@@
-8,6
+8,7
@@
#include "keybindings.h" /* init_keybindings(), free_keybindings(),
* save_keybindings()
*/
#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()
*/
#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();
{
unload_interface_conf();
load_interface_conf();
+ map_center();
}
}