changeset 169:0d9ebab59a66

arogue7: fix messages from potions of food detection. Updates to the screen took place in the wrong order, causing messages and "--More--" prompts to be hidden before they could be seen. There are probably similar bugs caused by other items.
author John "Elwin" Edwards
date Tue, 30 Jun 2015 15:32:32 -0400
parents 82b2a046d151
children 0298a68cc179
files arogue7/potions.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/arogue7/potions.c	Tue Jun 30 12:00:02 2015 -0400
+++ b/arogue7/potions.c	Tue Jun 30 15:32:32 2015 -0400
@@ -662,14 +662,14 @@
 		if (show) {
 		    if (is_potion) p_know[P_FFIND] = TRUE;
 		    msg("Your nose tingles.");
-		    msg("You sense the presence of food on this level.");
 		    waddstr(msgw, morestr);
 		    clearok(msgw, FALSE);
 		    draw(msgw);
+		    wait_for(' ');
+		    msg("");
 		    overlay(hw,cw);
 		    draw(cw);
-		    wait_for(' ');
-		    msg("");
+		    msg("You sense the presence of food on this level.");
 		}
 		else
 	            msg("You have a strange feeling for a moment, then it passes.");