Mercurial > hg > early-roguelike
comparison arogue7/potions.c @ 178:f057f09e9945
Advanced Rogue 7: rearrange messages from potions of food detection.
The message about detecting food now appears before the food symbols
are displayed.  I think this is closer to the original behavior.
| author | John "Elwin" Edwards | 
|---|---|
| date | Mon, 10 Aug 2015 20:39:40 -0400 | 
| parents | 80c060734f51 | 
| children | f9ef86cf22b2 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 177:7bdac632ab9d | 178:f057f09e9945 | 
|---|---|
| 660 } | 660 } | 
| 661 } | 661 } | 
| 662 if (show) { | 662 if (show) { | 
| 663 if (is_potion) p_know[P_FFIND] = TRUE; | 663 if (is_potion) p_know[P_FFIND] = TRUE; | 
| 664 msg("Your nose tingles."); | 664 msg("Your nose tingles."); | 
| 665 msg("You sense the presence of food on this level."); | |
| 665 waddstr(msgw, morestr); | 666 waddstr(msgw, morestr); | 
| 666 clearok(msgw, FALSE); | 667 clearok(msgw, FALSE); | 
| 667 draw(msgw); | 668 draw(msgw); | 
| 668 wait_for(' '); | 669 wait_for(' '); | 
| 669 msg(""); | 670 msg(""); | 
| 670 overlay(hw,cw); | 671 overlay(hw,cw); | 
| 671 draw(cw); | 672 draw(cw); | 
| 672 msg("You sense the presence of food on this level."); | |
| 673 } | 673 } | 
| 674 else | 674 else | 
| 675 msg("You have a strange feeling for a moment, then it passes."); | 675 msg("You have a strange feeling for a moment, then it passes."); | 
| 676 } | 676 } | 
| 677 | 677 | 
