home · contact · privacy
7DRL: Make "Things here" window scrollable.
[plomrogue] / src / client / draw_wins.c
index 3172ef4931eabd95e21964d85aa665d88c2649bd..c8d87fc29c622eaa5719c17f754f4a666a7d7711 100644 (file)
@@ -546,6 +546,7 @@ extern void draw_win_terrain_stack(struct Win * win)
     char * wait_response = "(polling)";
     char * text = world.things_here ? world.things_here : wait_response;
     add_text_with_linebreaks(win, text);
+    win->center.y = world.things_here_scroll + (win->frame_size.y / 2);  //
 }