diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-06 04:21:59 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-06 04:21:59 +0000 |
commit | c6f1b8f3258bc3369e3d31ef9d66ae6f6dfcb7a6 (patch) | |
tree | 132adc0b87976509867ecfd14f04e05c313fa5bd /crawl-ref/source/spells4.cc | |
parent | 3905eb1807dab85e62766fd362daf0edb3815cfb (diff) | |
download | crawl-ref-c6f1b8f3258bc3369e3d31ef9d66ae6f6dfcb7a6.tar.gz crawl-ref-c6f1b8f3258bc3369e3d31ef9d66ae6f6dfcb7a6.zip |
Expand mons_itemuse() to work at the individual monster level, as well.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7152 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r-- | crawl-ref/source/spells4.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc index 24e3f8edf5..d347b6cc8b 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -1845,7 +1845,7 @@ bool cast_fragmentation(int pow, const dist& spd) explode = true; beam.ex_size = petrifying ? 1 : 2; beam.name = "blast of petrified fragments"; - beam.colour = mon->colour; + beam.colour = mons_class_colour(mon->type); beam.damage.num = petrifying ? 2 : 3; if (player_hurt_monster(midx, beam.damage.roll())) beam.damage.num++; |