diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-18 23:10:43 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-18 23:10:43 +0000 |
commit | 892868004cdb7228bf4ec44cc791ed29c29fea97 (patch) | |
tree | a21b07626b4eda49fdbe45f87de12d4f1ce83e3c /crawl-ref/source/player.cc | |
parent | 190bfa1c55dfc90851d5259f10ce6d7ff1485f86 (diff) | |
download | crawl-ref-892868004cdb7228bf4ec44cc791ed29c29fea97.tar.gz crawl-ref-892868004cdb7228bf4ec44cc791ed29c29fea97.zip |
Fix the check for the player's being undead when giving mutations from
Jiyva, and avoid "nothing has changed" message spam under those
circumstances.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10292 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 09c925f2d2..da6f72f4a6 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -3824,10 +3824,11 @@ void jiyva_stat_action() (*base_statp[stat_up_choice])++; (*base_statp[stat_down_choice])--; - mprf(MSGCH_GOD, "Jiyva's power touches on your attributes."); - you.redraw_strength = true; - you.redraw_intelligence = true; - you.redraw_dexterity = true; + simple_god_message("'s power touches on your attributes."); + + you.redraw_strength = true; + you.redraw_intelligence = true; + you.redraw_dexterity = true; burden_change(); } |