summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/it_use3.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/it_use3.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/it_use3.cc')
-rw-r--r--crawl-ref/source/it_use3.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/it_use3.cc b/crawl-ref/source/it_use3.cc
index a394d50ed6..8207395be4 100644
--- a/crawl-ref/source/it_use3.cc
+++ b/crawl-ref/source/it_use3.cc
@@ -688,7 +688,7 @@ bool evoke_wielded()
static bool efreet_flask(void)
{
beh_type beha = BEH_HOSTILE;
- int hitting = MHITYOU;
+ unsigned short hitting = MHITYOU;
if (you.skills[SK_EVOCATIONS] / 3 + 10 > random2(20))
{