summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.h
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.h
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.h')
-rw-r--r--crawl-ref/source/view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/view.h b/crawl-ref/source/view.h
index 31de54e2f7..b43967695f 100644
--- a/crawl-ref/source/view.h
+++ b/crawl-ref/source/view.h
@@ -76,7 +76,7 @@ void beogh_follower_convert(monsters *monster, bool orc_hit = false);
* called from: bang - beam - direct - effects - fight - monstuff -
* mstuff2 - spells1 - spells2
* *********************************************************************** */
-bool mons_near(const monsters *monster, unsigned int foe = MHITYOU);
+bool mons_near(const monsters *monster, unsigned short foe = MHITYOU);
bool mon_enemies_around(const monsters *monster);
// last updated 12may2000 {dlb}