changeset 171:80c060734f51

arogue7: fix messages from detection potions. Another fix for overwritten messages, this time for potions of monster detection and magic detection. I've made the message appear before the display of information, which may be closer to the originally intended behavior.
author John "Elwin" Edwards
date Thu, 02 Jul 2015 16:27:39 -0400
parents 0298a68cc179
children c199a15a2c70
files arogue7/potions.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/arogue7/potions.c	Thu Jul 02 08:04:16 2015 -0400
+++ b/arogue7/potions.c	Thu Jul 02 16:27:39 2015 -0400
@@ -417,10 +417,10 @@
 		waddstr(msgw, morestr);
 		clearok(msgw, FALSE);
 		draw(msgw);
+		wait_for(' ');
+		msg("");
 		overlay(hw, cw);
 		draw(cw);
-		wait_for(' ');
-		msg("");
 		if (is_potion) p_know[P_MFIND] = TRUE;
 	    }
 	    else
@@ -484,10 +484,10 @@
 		    waddstr(msgw, morestr);
 		    clearok(msgw, FALSE);
 		    draw(msgw);
+		    wait_for(' ');
+		    msg("");
 		    overlay(hw,cw);
 		    draw(cw);
-		    wait_for(' ');
-		    msg("");
 		    break;
 		}
 		else