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:
parent
4c696eef47
commit
366f2a27a8
1 changed files with 3 additions and 3 deletions
|
|
@ -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.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue