mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[10207] Implement ITEM_FLAGS2_EXT_COST_REQUIRES_GOLD use instead sign of ExtendedCost field.
This commit is contained in:
parent
9882bc811f
commit
20a5551739
13 changed files with 42 additions and 35 deletions
|
|
@ -1161,7 +1161,7 @@ bool ChatHandler::HandleNpcAddVendorItemCommand(const char* args)
|
|||
incrtime = atol(fincrtime);
|
||||
|
||||
char* fextendedcost = strtok(NULL, " "); //add ExtendedCost, default: 0
|
||||
int32 extendedcost = fextendedcost ? atol(fextendedcost) : 0;
|
||||
uint32 extendedcost = fextendedcost ? atol(fextendedcost) : 0;
|
||||
|
||||
Creature* vendor = getSelectedCreature();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue