diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-13 21:22:42 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-13 21:22:42 +0000 |
commit | fc3b316537451624d6fd6ce4467a2890cb60b2b9 (patch) | |
tree | 7a3420cd20f9fa66b7196e8a7127d284fe8e2400 /crawl-ref/source/spells4.cc | |
parent | eb97f179f7ab9fdd480646f4ff6ef0edbd4bcbe8 (diff) | |
download | crawl-ref-fc3b316537451624d6fd6ce4467a2890cb60b2b9.tar.gz crawl-ref-fc3b316537451624d6fd6ce4467a2890cb60b2b9.zip |
Simplify.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7238 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r-- | crawl-ref/source/spells4.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc index d347b6cc8b..28067ddffc 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -1720,8 +1720,8 @@ bool cast_fragmentation(int pow, const dist& spd) { monsters *mon = &menv[midx]; - // Save this message in case the monster isn't available later. - std::string explode_msg = mon->name(DESC_CAP_THE) + " explodes!"; + // Save the monster's name in case it isn't available later. + std::string name_cap_the = mon->name(DESC_CAP_THE); switch (mon->type) { @@ -1862,7 +1862,7 @@ bool cast_fragmentation(int pow, const dist& spd) goto do_terrain; } - mpr(explode_msg.c_str()); + mprf("%s explodes!", name_cap_the.c_str()); goto all_done; } |