summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-03 19:21:09 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-03 19:21:09 +0000
commit18fae33cd4b9d994191dda68cb7ffb4354855d02 (patch)
tree6dd425bf823d5b9e7d45d5c8d3033d175c3adc0c /crawl-ref/source/view.cc
parent7adf7a8dd69f6d22290d1d7cf9df5de6889f2411 (diff)
downloadcrawl-ref-18fae33cd4b9d994191dda68cb7ffb4354855d02.tar.gz
crawl-ref-18fae33cd4b9d994191dda68cb7ffb4354855d02.zip
For (some) consistency, make monster::foe an unsigned short, since that
matches player::pet_target, and because tags.cc seems to save monster::foe as a short anyway. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5461 c06c8d41-db1a-0410-9941-cceddc491573
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 bcea143495..e0d7150883 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -3612,7 +3612,7 @@ bool magic_mapping(int map_radius, int proportion, bool suppress_msg,
// realize that this is simply a repackaged version of
// stuff::see_grid() -- make certain they correlate {dlb}:
-bool mons_near(const monsters *monster, unsigned int foe)
+bool mons_near(const monsters *monster, unsigned short foe)
{
// early out -- no foe!
if (foe == MHITNOT)