aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Loot/LootMgr.cpp
diff options
context:
space:
mode:
authorSubv <s.v.h21@hotmail.com>2012-02-14 12:46:26 -0500
committerSubv <s.v.h21@hotmail.com>2012-02-14 12:46:26 -0500
commit8a72aede1641ae19d539ed807e3bb0458c7a65e8 (patch)
tree19244d00341860f4f7f872af68763b9eaf2e0331 /src/server/game/Loot/LootMgr.cpp
parentf1182f0884e6d1eb5a279550d1b92d02cddb7c56 (diff)
Codestyle: Renamed some variables to fit codestyle, corrected order in structure/class fields to match alignment (they use slightly less memory now)
Signed-off-by: Subv <s.v.h21@hotmail.com>
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;