diff options
| author | QAston <none@none> | 2009-06-25 13:50:11 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-06-25 13:50:11 +0200 |
| commit | d234b35a0c18d7f3b3120483ebe6845be22bead3 (patch) | |
| tree | 5086c4ec8549137ae6201c6cb23d2ad825eb4e27 /src/game/Player.cpp | |
| parent | 5ae6467fc75d8b73eed5175a47c911e446a1238e (diff) | |
*Fix typo causing problems with buying items.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
| -rw-r--r-- | src/game/Player.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 4bec1b885a7..29f4dbde84d 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -17639,11 +17639,11 @@ bool Player::BuyItemFromVendor(uint64 vendorguid, uint32 item, uint8 count, uint { // cheating attempt if(count < 1) count = 1; - + // cheating attempt - if(slot > MAX_BAG_SIZE) + if(slot > MAX_BAG_SIZE && slot !=NULL_SLOT) return false; - + if(!isAlive()) return false; |
