Mercurial > hg > early-roguelike
comparison arogue5/player.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 | aeabbca6dc0b |
| children | beab22b087a1 |
comparison
equal
deleted
inserted
replaced
| 78:aeabbca6dc0b | 79:34a87d84ea31 |
|---|---|
| 449 if (cleric_spells[which_prayer].s_cost + pray_time > prayer_ability) { | 449 if (cleric_spells[which_prayer].s_cost + pray_time > prayer_ability) { |
| 450 msg("Your prayer fails."); | 450 msg("Your prayer fails."); |
| 451 return; | 451 return; |
| 452 } | 452 } |
| 453 | 453 |
| 454 if (nohw) | 454 if (nohw) { |
| 455 msg("Your prayer has been granted."); | 455 msg("Your prayer has been granted.--More--"); |
| 456 wait_for(msgw,' '); | |
| 457 msg(""); | |
| 458 } | |
| 456 else { | 459 else { |
| 457 mvwaddstr(hw, 0, 0, "Your prayer has been granted.--More--"); | 460 mvwaddstr(hw, 0, 0, "Your prayer has been granted.--More--"); |
| 458 wclrtoeol(hw); | 461 wclrtoeol(hw); |
| 459 draw(hw); | 462 draw(hw); |
| 460 wait_for(hw,' '); | 463 wait_for(hw,' '); |
