From 3ebd6da87df9bf90889ce316589f0c2fcb386296 Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Thu, 2 Jul 2015 16:27:39 -0400 Subject: [PATCH] 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. --- arogue7/potions.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arogue7/potions.c b/arogue7/potions.c index ffd1b4d..ab3da18 100644 --- a/arogue7/potions.c +++ b/arogue7/potions.c @@ -417,10 +417,10 @@ bool is_potion; waddstr(msgw, morestr); clearok(msgw, FALSE); draw(msgw); - overlay(hw, cw); - draw(cw); wait_for(' '); msg(""); + overlay(hw, cw); + draw(cw); if (is_potion) p_know[P_MFIND] = TRUE; } else @@ -484,10 +484,10 @@ bool is_potion; waddstr(msgw, morestr); clearok(msgw, FALSE); draw(msgw); - overlay(hw,cw); - draw(cw); wait_for(' '); msg(""); + overlay(hw,cw); + draw(cw); break; } else