Mercurial > hg > early-roguelike
comparison arogue5/potions.c @ 79:34a87d84ea31
arogue5: make some prayer-related messages appear properly.
| author | John "Elwin" Edwards <elwin@sdf.org> |
|---|---|
| date | Sun, 09 Sep 2012 17:58:38 -0700 |
| parents | ae7643e1194b |
| children | 56e748983fa8 |
comparison
equal
deleted
inserted
replaced
| 78:aeabbca6dc0b | 79:34a87d84ea31 |
|---|---|
| 391 /* | 391 /* |
| 392 * Potion of monster detection, if there are monters, detect them | 392 * Potion of monster detection, if there are monters, detect them |
| 393 */ | 393 */ |
| 394 if (mlist != NULL) | 394 if (mlist != NULL) |
| 395 { | 395 { |
| 396 msg("You begin to sense the presence of monsters."); | |
| 397 waddstr(msgw, morestr); | |
| 398 overlay(mw, cw); | 396 overlay(mw, cw); |
| 399 draw(cw); | 397 draw(cw); |
| 398 msg("You begin to sense the presence of monsters.%s", morestr); | |
| 399 draw(msgw); | |
| 400 wait_for(cw,' '); | 400 wait_for(cw,' '); |
| 401 msg(""); | 401 msg(""); |
| 402 if (is_potion) p_know[P_MFIND] = TRUE; | 402 if (is_potion) p_know[P_MFIND] = TRUE; |
| 403 } | 403 } |
| 404 else | 404 else |
| 457 } | 457 } |
| 458 if (is_potion) p_know[P_TFIND] = TRUE; | 458 if (is_potion) p_know[P_TFIND] = TRUE; |
| 459 } | 459 } |
| 460 } | 460 } |
| 461 if (show) { | 461 if (show) { |
| 462 msg("You sense the presence of magic on this level."); | |
| 463 waddstr(msgw, morestr); | |
| 464 overlay(hw,cw); | 462 overlay(hw,cw); |
| 465 draw(cw); | 463 draw(cw); |
| 464 msg("You sense the presence of magic on this level.%s", | |
| 465 morestr); | |
| 466 draw(msgw); | |
| 466 wait_for(cw,' '); | 467 wait_for(cw,' '); |
| 467 msg(""); | 468 msg(""); |
| 468 break; | 469 break; |
| 469 } | 470 } |
| 470 } | 471 } |
