Mercurial > hg > early-roguelike
diff arogue7/potions.c @ 171:80c060734f51
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.
author | John "Elwin" Edwards |
---|---|
date | Thu, 02 Jul 2015 16:27:39 -0400 |
parents | 0d9ebab59a66 |
children | f057f09e9945 |
line wrap: on
line diff
--- a/arogue7/potions.c Thu Jul 02 08:04:16 2015 -0400 +++ b/arogue7/potions.c Thu Jul 02 16:27:39 2015 -0400 @@ -417,10 +417,10 @@ waddstr(msgw, morestr); clearok(msgw, FALSE); draw(msgw); + wait_for(' '); + msg(""); overlay(hw, cw); draw(cw); - wait_for(' '); - msg(""); if (is_potion) p_know[P_MFIND] = TRUE; } else @@ -484,10 +484,10 @@ waddstr(msgw, morestr); clearok(msgw, FALSE); draw(msgw); + wait_for(' '); + msg(""); overlay(hw,cw); draw(cw); - wait_for(' '); - msg(""); break; } else