changeset 79:34a87d84ea31

arogue5: make some prayer-related messages appear properly.
author John "Elwin" Edwards <elwin@sdf.org>
date Sun, 09 Sep 2012 17:58:38 -0700
parents aeabbca6dc0b
children c8726c9fec82
files arogue5/player.c arogue5/potions.c
diffstat 2 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/arogue5/player.c	Sun Sep 09 15:55:51 2012 -0700
+++ b/arogue5/player.c	Sun Sep 09 17:58:38 2012 -0700
@@ -451,8 +451,11 @@
 	return;
     }
 
-    if (nohw) 
-	msg("Your prayer has been granted.");
+    if (nohw) {
+	msg("Your prayer has been granted.--More--");
+	wait_for(msgw,' ');
+        msg("");
+    }
     else {
 	mvwaddstr(hw, 0, 0, "Your prayer has been granted.--More--");
 	wclrtoeol(hw);
--- a/arogue5/potions.c	Sun Sep 09 15:55:51 2012 -0700
+++ b/arogue5/potions.c	Sun Sep 09 17:58:38 2012 -0700
@@ -393,10 +393,10 @@
 	     */
 	    if (mlist != NULL)
 	    {
-		msg("You begin to sense the presence of monsters.");
-		waddstr(msgw, morestr);
 		overlay(mw, cw);
 		draw(cw);
+		msg("You begin to sense the presence of monsters.%s", morestr);
+		draw(msgw);
 		wait_for(cw,' ');
 		msg("");
 		if (is_potion) p_know[P_MFIND] = TRUE;
@@ -459,10 +459,11 @@
 		    }
 		}
 		if (show) {
-		    msg("You sense the presence of magic on this level.");
-		    waddstr(msgw, morestr);
 		    overlay(hw,cw);
 		    draw(cw);
+		    msg("You sense the presence of magic on this level.%s", 
+			morestr);
+		    draw(msgw);
 		    wait_for(cw,' ');
 		    msg("");
 		    break;