From: Christian Heller Date: Sun, 7 Dec 2014 20:23:48 +0000 (+0100) Subject: Client: Be verbose about waiting for server input for "Things here" win. X-Git-Tag: tce~562 X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/%7B%7Bdb.prefix%7D%7D/todo?a=commitdiff_plain;h=c4b3fff9eea2223cea9feb7ce22a6b584822ebe1;p=plomrogue Client: Be verbose about waiting for server input for "Things here" win. --- diff --git a/confclient/interface_conf b/confclient/interface_conf index 0055141..59539e0 100644 --- a/confclient/interface_conf +++ b/confclient/interface_conf @@ -75,7 +75,7 @@ KEY 117 use WINDOW s NAME 'Things here' -BREAK 1 +BREAK 0 WIDTH 14 HEIGHT -12 diff --git a/src/client/draw_wins.c b/src/client/draw_wins.c index 26a7485..d5e7bf8 100644 --- a/src/client/draw_wins.c +++ b/src/client/draw_wins.c @@ -436,10 +436,9 @@ extern void draw_win_inventory(struct Win * win) extern void draw_win_terrain_stack(struct Win * win) { - if (world.things_here) - { - add_text_with_linebreaks(win, world.things_here); - } + char * wait_response = "(waiting for server response)"; + char * text = world.things_here ? world.things_here : wait_response; + add_text_with_linebreaks(win, text); }