summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_mons.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-05 12:33:00 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-05 13:03:12 +0200
commit53671ccab2db8416aa16b9df6ba799e0cfaa78dd (patch)
tree652c985a199e144b6795ce64a7011b4f5a68a022 /crawl-ref/source/l_mons.cc
parent1e34f3b3685886a2186a90ee2e6c976aa15c8730 (diff)
downloadcrawl-ref-53671ccab2db8416aa16b9df6ba799e0cfaa78dd.tar.gz
crawl-ref-53671ccab2db8416aa16b9df6ba799e0cfaa78dd.zip
String scalars are scalars, too.
Diffstat (limited to 'crawl-ref/source/l_mons.cc')
-rw-r--r--crawl-ref/source/l_mons.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_mons.cc b/crawl-ref/source/l_mons.cc
index e47c4c8180..8139639840 100644
--- a/crawl-ref/source/l_mons.cc
+++ b/crawl-ref/source/l_mons.cc
@@ -554,7 +554,7 @@ static const char* _behaviour_name(beh_type beh)
if (0 <= beh && beh < NUM_BEHAVIOURS)
return (_monster_behaviour_names[beh]);
else
- return ("invalid");
+ return "invalid";
}
static beh_type behaviour_by_name(const std::string &name)