aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2013-02-03 01:28:18 +0100
committerShauren <shauren.trinity@gmail.com>2013-02-03 01:28:18 +0100
commit104682767ebae9a162db9b14cf5f64a78a4fe568 (patch)
tree77b708caeac900e16f593dad3568e274f788c2a0 /src
parentb50cda4a1a97679271193b67df951f437e829458 (diff)
Build fix
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Loot/LootMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Loot/LootMgr.cpp b/src/server/game/Loot/LootMgr.cpp
index d637e45b642..59696a47fe0 100644
--- a/src/server/game/Loot/LootMgr.cpp
+++ b/src/server/game/Loot/LootMgr.cpp
@@ -1285,7 +1285,7 @@ void LootTemplate::Process(Loot& loot, bool rate, uint16 lootMode, uint8 groupId
if (item->lootmode &~ lootMode) // Do not add if mode mismatch
continue;
- if (!i->Roll(rate))
+ if (!item->Roll(rate))
continue; // Bad luck for the entry
if (item->mincountOrRef < 0) // References processing