mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[0158] Fix Item Buy Count Thanks Fabi.
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
9f8aa49310
commit
f6cc5b2c9d
2 changed files with 2 additions and 2 deletions
|
|
@ -19418,7 +19418,7 @@ bool Player::BuyItemFromVendorSlot(ObjectGuid vendorGuid, uint32 vendorslot, uin
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32 totalCount = pProto->BuyCount * count;
|
uint32 totalCount = count;
|
||||||
|
|
||||||
// check current item amount if it limited
|
// check current item amount if it limited
|
||||||
if (crItem->maxcount != 0)
|
if (crItem->maxcount != 0)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "0157"
|
#define REVISION_NR "0158"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue