summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-22 07:03:34 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-22 07:03:34 +0000
commit0a8713d0c321c42fea4886bc1ab6f7c2031d247b (patch)
treea429e236dd8cf086ab749fb6cdd5eb5094738a6a /crawl-ref/source/items.cc
parent9e7cea2837c8d911cb41f5a62e47186dce6669ad (diff)
downloadcrawl-ref-0a8713d0c321c42fea4886bc1ab6f7c2031d247b.tar.gz
crawl-ref-0a8713d0c321c42fea4886bc1ab6f7c2031d247b.zip
Oops, used tabs instead of spaces for indentation in items.cc and mon-util.cc.
Fixed the same problem in initfile.cc and directn.cc while I was at it. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7533 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r--crawl-ref/source/items.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index 498722a4a4..7e8a54503e 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -2028,13 +2028,13 @@ mon_inv_type get_mon_equip_slot(const monsters* mon, const item_def &item)
if (slot == NUM_MONSTER_SLOTS)
return NUM_MONSTER_SLOTS;
- if (mon->mslot_item(slot) == &item)
+ if (mon->mslot_item(slot) == &item)
return slot;
if (slot == MSLOT_WEAPON && mon->mslot_item(MSLOT_ALT_WEAPON) == &item)
return MSLOT_ALT_WEAPON;
- return NUM_MONSTER_SLOTS;
+ return NUM_MONSTER_SLOTS;
}
static std::string _drop_selitem_text( const std::vector<MenuEntry*> *s )