summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.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/externs.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/externs.h')
-rw-r--r--crawl-ref/source/externs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index 4786cf4c7f..3277e74189 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -1028,7 +1028,7 @@ public:
monster_spells spells;
mon_attitude_type attitude;
beh_type behaviour;
- unsigned int foe;
+ unsigned short foe;
char ench_countdown;
mon_enchant_list enchantments;
unsigned long flags; // bitfield of boolean flags