summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-03 05:34:24 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-03 05:34:24 +0000
commit590bf63d6bd9084c6df1ab1f8bc3440a3fdfa5bb (patch)
tree86c4bf6d37e51c926e85dc460f47b7d00ab38e1c
parent2ee7a5bb8d5af11d53f62204470dcf6132c654ac (diff)
downloadcrawl-ref-590bf63d6bd9084c6df1ab1f8bc3440a3fdfa5bb.tar.gz
crawl-ref-590bf63d6bd9084c6df1ab1f8bc3440a3fdfa5bb.zip
Add const.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5452 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/monstuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 44ff7c49b5..00fd315e53 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -4624,7 +4624,7 @@ static bool _handle_spell( monsters *monster, bolt & beem )
}
else if (monster->type == MONS_DAEVA)
{
- monsters *mon = &menv[monster->foe];
+ const monsters *mon = &menv[monster->foe];
// Don't allow daevas to make unchivalric magic
// attacks, except against appropriate monsters.