# HG changeset patch # User John "Elwin" Edwards # Date 1435692752 14400 # Node ID 0d9ebab59a66e2ce488f004878414a23a603823a # Parent 82b2a046d1513e527424c388a0b1e0e5d7ffb509 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. diff -r 82b2a046d151 -r 0d9ebab59a66 arogue7/potions.c --- a/arogue7/potions.c Tue Jun 30 12:00:02 2015 -0400 +++ b/arogue7/potions.c Tue Jun 30 15:32:32 2015 -0400 @@ -662,14 +662,14 @@ 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); + wait_for(' '); + msg(""); overlay(hw,cw); draw(cw); - wait_for(' '); - msg(""); + msg("You sense the presence of food on this level."); } else msg("You have a strange feeling for a moment, then it passes.");