From 323c56a641ea0c72f3f1bd112e32f3d6a0ef3d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rnar=20Hansen?= Date: Fri, 29 Mar 2013 15:03:09 +0100 Subject: [PATCH] Right-align happiness monitor overlay. The overlay was blocking game messages which are displayed on the left side. --- plugins/dwarfmonitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dwarfmonitor.cpp b/plugins/dwarfmonitor.cpp index 1095d24b9..6fe89531a 100644 --- a/plugins/dwarfmonitor.cpp +++ b/plugins/dwarfmonitor.cpp @@ -1143,7 +1143,7 @@ struct dwarf_monitor_hook : public df::viewscreen_dwarfmodest if (monitor_misery && Maps::IsValid()) { - int x = 1; + int x = gps->dimx - 22; int y = gps->dimy - 1; OutputString(COLOR_WHITE, x, y, "H:"); OutputString(COLOR_LIGHTRED, x, y, int_to_string(misery[0]));