Mercurial > hg > early-roguelike
changeset 77:ae7643e1194b
arogue5: fix "More" prompt appearing in the wrong place.
The magic and monster detection routines printed "--More--" to cw
instead of msgw, making it appear at the @-sign instead of on the top
line.
author | John "Elwin" Edwards <elwin@sdf.org> |
---|---|
date | Sun, 09 Sep 2012 08:55:11 -0700 |
parents | ad2cb9a07aaa |
children | aeabbca6dc0b |
files | arogue5/potions.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/arogue5/potions.c Sat Sep 08 22:05:05 2012 -0700 +++ b/arogue5/potions.c Sun Sep 09 08:55:11 2012 -0700 @@ -394,7 +394,7 @@ if (mlist != NULL) { msg("You begin to sense the presence of monsters."); - waddstr(cw, morestr); + waddstr(msgw, morestr); overlay(mw, cw); draw(cw); wait_for(cw,' '); @@ -460,7 +460,7 @@ } if (show) { msg("You sense the presence of magic on this level."); - waddstr(cw, morestr); + waddstr(msgw, morestr); overlay(hw,cw); draw(cw); wait_for(cw,' ');