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:
parent
c864015af9
commit
3ebd6da87d
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue