aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-06-27 17:39:01 +0200
committerMachiavelli <none@none>2009-06-27 17:39:01 +0200
commit9040a32ed34fcf8db005bda1828d29faf327e54d (patch)
tree88457b7a33751eb200324942fe5d5126f33a937f /src
parentdfe7b6389924da360cc8abbc36cb729b03e0d19e (diff)
parent548f857d97ff4259c6d5aa94866864cfb3b53eb2 (diff)
*Merge
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 9a8345b67e9..7f3d173015f 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -17800,6 +17800,7 @@ bool Player::BuyItemFromVendor(uint64 vendorguid, uint32 item, uint8 count, uint
sLog.outDebug("CHEATING ATTEMPT slot > bagSize in BuyItemFromVendor playerGUID: "I64FMT" name: %s slot: %u", GetGUID(), GetName(), slot);
return false;
}
+ if(slot < pBag->GetBagSlot() && !pBag->GetItemByPos(slot))
bag = i;
break;
}