Right-align happiness monitor overlay.

The overlay was blocking game messages which are displayed on the left side.
develop
Bjørnar Hansen 2013-03-29 15:03:09 +01:00
parent dc9a62fd1d
commit 323c56a641
1 changed files with 1 additions and 1 deletions

@ -1143,7 +1143,7 @@ struct dwarf_monitor_hook : public df::viewscreen_dwarfmodest
if (monitor_misery && Maps::IsValid()) if (monitor_misery && Maps::IsValid())
{ {
int x = 1; int x = gps->dimx - 22;
int y = gps->dimy - 1; int y = gps->dimy - 1;
OutputString(COLOR_WHITE, x, y, "H:"); OutputString(COLOR_WHITE, x, y, "H:");
OutputString(COLOR_LIGHTRED, x, y, int_to_string(misery[0])); OutputString(COLOR_LIGHTRED, x, y, int_to_string(misery[0]));