aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Loot/LootMgr.cpp
diff options
context:
space:
mode:
authorMalcrom <malcromdev@gmail.com>2012-02-14 19:42:07 -0330
committerMalcrom <malcromdev@gmail.com>2012-02-14 19:42:07 -0330
commit4dd96f27656fd49e0023ddad22afe606b53ed2cb (patch)
tree889742c5f965e23cd498602e96c8d0600c234d1f /src/server/game/Loot/LootMgr.cpp
parent7965eed4e15a5662a85a800dac162e945b03cdd1 (diff)
parent60adf066d90b9bc9696bce8f750f9abc79a61f8e (diff)
Merge branch 'master' of git://github.com/TrinityCore/TrinityCore
Diffstat (limited to 'src/server/game/Loot/LootMgr.cpp')
-rwxr-xr-xsrc/server/game/Loot/LootMgr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Loot/LootMgr.cpp b/src/server/game/Loot/LootMgr.cpp
index d9e3d7ab823..564d0cce8b7 100755
--- a/src/server/game/Loot/LootMgr.cpp
+++ b/src/server/game/Loot/LootMgr.cpp
@@ -1364,7 +1364,7 @@ bool LootTemplate::addConditionItem(Condition* cond)
{
for (LootStoreItemList::iterator i = Entries.begin(); i != Entries.end(); ++i)
{
- if (i->itemid == cond->mSourceEntry)
+ if (i->itemid == cond->SourceEntry)
{
i->conditions.push_back(cond);
return true;
@@ -1380,7 +1380,7 @@ bool LootTemplate::addConditionItem(Condition* cond)
{
for (LootStoreItemList::iterator i = itemList->begin(); i != itemList->end(); ++i)
{
- if ((*i).itemid == cond->mSourceEntry)
+ if ((*i).itemid == cond->SourceEntry)
{
(*i).conditions.push_back(cond);
return true;
@@ -1392,7 +1392,7 @@ bool LootTemplate::addConditionItem(Condition* cond)
{
for (LootStoreItemList::iterator i = itemList->begin(); i != itemList->end(); ++i)
{
- if ((*i).itemid == cond->mSourceEntry)
+ if ((*i).itemid == cond->SourceEntry)
{
(*i).conditions.push_back(cond);
return true;