diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-16 05:52:42 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-16 05:52:42 +0000 |
commit | c4968d0089d5c0d165b38b8f3c3e3f7983d0e191 (patch) | |
tree | d1593d2e4153be5651abbcd6d0d117bdb942a358 | |
parent | a6409aab4eb7c0d5ec9b645f8d3dfacb77d78742 (diff) | |
download | crawl-ref-c4968d0089d5c0d165b38b8f3c3e3f7983d0e191.tar.gz crawl-ref-c4968d0089d5c0d165b38b8f3c3e3f7983d0e191.zip |
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8470 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/mstuff2.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc index becaeb2bad..4a9dca310b 100644 --- a/crawl-ref/source/mstuff2.cc +++ b/crawl-ref/source/mstuff2.cc @@ -547,7 +547,7 @@ void mons_cast_noise(monsters *monster, bolt &pbolt, spell_type spell_cast) if (mons_genus(type) == MONS_DRACONIAN) type = draco_subspecies(monster); - switch(type) + switch (type) { case MONS_MOTTLED_DRACONIAN: real_spell = SPELL_STICKY_FLAME_SPLASH; @@ -923,17 +923,11 @@ void mons_cast_noise(monsters *monster, bolt &pbolt, spell_type spell_cast) std::string beam_name; if (!targeted) - { beam_name = "NON TARGETED BEAM"; - } else if (pbolt.name.empty()) - { beam_name = "INVALID BEAM"; - } else if (!tracer.seen) - { beam_name = "UNSEEN BEAM"; - } else beam_name = pbolt.get_short_name(); |