diff options
author | Charles Otto <ottochar@gmail.com> | 2009-10-31 12:18:26 -0400 |
---|---|---|
committer | Charles Otto <ottochar@gmail.com> | 2009-10-31 12:19:25 -0400 |
commit | c1d8dc0f1c7cfa48c46d7fe34c558a1d8f0ff586 (patch) | |
tree | 9ea8a199da782ac76782b86df3b323dba65912c8 /crawl-ref/source | |
parent | 11ab2028277167a5ed9592ff13d4090ce4d60109 (diff) | |
download | crawl-ref-c1d8dc0f1c7cfa48c46d7fe34c558a1d8f0ff586.tar.gz crawl-ref-c1d8dc0f1c7cfa48c46d7fe34c558a1d8f0ff586.zip |
Refresh the quiver and weapon slots when changing gods (bug [2889493])
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/religion.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 0be8ae184f..64d2f9190c 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -5944,6 +5944,11 @@ void excommunication(god_type new_god) redraw_skill(you.your_name, player_title()); + // Renouncing may have changed the conducts on our wielded or + // quivered weapons so refresh the display. + you.wield_change = true; + you.redraw_quiver = true; + mpr("You have lost your religion!"); more(); @@ -6985,6 +6990,11 @@ void god_pitch(god_type which_god) } } + // Refresh wielded/quivered weapons in case we have a new conduct + // on them. + you.wield_change = true; + you.redraw_quiver = true; + redraw_skill(you.your_name, player_title()); learned_something_new(TUT_CONVERT); |