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.
This commit is contained in:
John "Elwin" Edwards 2015-07-02 16:27:39 -04:00
parent c864015af9
commit 3ebd6da87d

View file

@ -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