diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-05 10:51:17 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-05 10:52:10 -0700 |
commit | ff848d38072d0c377905ec2e599ff212554bb85c (patch) | |
tree | 382649d02894a13b73971851688e2f397e92d9d1 /crawl-ref/source/godwrath.cc | |
parent | 1757ce470f8ac307fdf50e482b20f85febdffc2a (diff) | |
download | crawl-ref-ff848d38072d0c377905ec2e599ff212554bb85c.tar.gz crawl-ref-ff848d38072d0c377905ec2e599ff212554bb85c.zip |
Constify
Guarantee the invariance of various item pickup functions;
move gozag gold aura removal to dec_mitm.
Diffstat (limited to 'crawl-ref/source/godwrath.cc')
-rw-r--r-- | crawl-ref/source/godwrath.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/godwrath.cc b/crawl-ref/source/godwrath.cc index 622e8b502a..eadd8073d4 100644 --- a/crawl-ref/source/godwrath.cc +++ b/crawl-ref/source/godwrath.cc @@ -1826,7 +1826,7 @@ void gozag_incite(monster *mon) * @param quiet Whether to suppress messages. * @return How much of the stack was goldified. */ -bool gozag_goldify(item_def &it, int quant_got, bool quiet) +bool gozag_goldify(const item_def &it, int quant_got, bool quiet) { if (it.base_type != OBJ_POTIONS && it.base_type != OBJ_SCROLLS |