diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-12-15 14:14:20 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-12-15 14:14:20 +0100 |
commit | 28cd903a83720fa6c967b316370fca975356cd86 (patch) | |
tree | 7f2934e9c516468386b46fffc8c72700da6d5367 /crawl-ref/source/show.cc | |
parent | 72a55c4b5be60b8479e53115b75b2c41c8f29c5a (diff) | |
download | crawl-ref-28cd903a83720fa6c967b316370fca975356cd86.tar.gz crawl-ref-28cd903a83720fa6c967b316370fca975356cd86.zip |
Constify g{et,ive}_mimic_item(). (by)
Diffstat (limited to 'crawl-ref/source/show.cc')
-rw-r--r-- | crawl-ref/source/show.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/show.cc b/crawl-ref/source/show.cc index 9ef5c303b9..9899bc521c 100644 --- a/crawl-ref/source/show.cc +++ b/crawl-ref/source/show.cc @@ -218,7 +218,7 @@ static show_item_type _item_to_show_code(const item_def &item) void show_def::_update_item_at(const coord_def &gp, const coord_def &ep) { - item_def *eitem; + const item_def *eitem; // Check for mimics. const monsters* m = monster_at(gp); if (m && mons_is_unknown_mimic(m)) |