summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r--crawl-ref/source/view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index 66fa9d8143..e3e50a2bb1 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -750,7 +750,7 @@ void handle_monster_shouts(monsters* monster, bool force)
// Get it once, since monster might be S_RANDOM, in which case
// mons_shouts() will return a different value every time.
- shout_type type = mons_shouts(monster->type);
+ const shout_type type = mons_shouts(monster->type);
// Silent monsters can give noiseless "visual shouts" if the
// player can see them, in which case silence isn't checked for.