aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormaximius <none@none>2009-11-04 19:18:24 -0800
committermaximius <none@none>2009-11-04 19:18:24 -0800
commitaa7ae0ebb0144737cd4ba15348bfce99e937ea6b (patch)
tree91fc6d226fd630105231f7d13091abd3694f93bf /src
parent93f3d2744023bf3565dffd3d4875571406f9999b (diff)
*Typo
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/LootMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/LootMgr.cpp b/src/game/LootMgr.cpp
index 8555995b6dd..2fca3981268 100644
--- a/src/game/LootMgr.cpp
+++ b/src/game/LootMgr.cpp
@@ -864,7 +864,7 @@ void LootTemplate::LootGroup::Process(Loot& loot, uint16 lootMode) const
if (item != NULL && item->lootmode & lootMode) // only add this item if roll succeeds and the mode matches
{
for (LootItemList::const_iterator _item = loot.items.begin(); _item != loot.items.end(); ++_item)
- if (_item->itemid == i->itemid)
+ if (_item->itemid == item->itemid)
return; // Never add the same item twice
loot.AddItem(*item);