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.
This commit is contained in:
John "Elwin" Edwards 2015-06-30 15:32:32 -04:00
parent 4c696eef47
commit 366f2a27a8

View file

@ -662,14 +662,14 @@ bool is_potion;
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);
overlay(hw,cw);
draw(cw);
wait_for(' ');
msg("");
overlay(hw,cw);
draw(cw);
msg("You sense the presence of food on this level.");
}
else
msg("You have a strange feeling for a moment, then it passes.");