Bug - Fixed put_shop() reports negative number added to shop in gCLI

r18422

put_shop() is reporting that it adds a negative number of items to my store, even though the correct (positive) number is actually added

Code:
[COLOR="#DAA520"]> ash put_shop(0, 0, 1, $item[perfect ice cube]);[/COLOR]

Adding perfect ice cube to store...
-1 perfect ice cube added to your store.
Returned: true

It's reported correctly in my session log:

Code:
Adding 1 perfect ice cube to store from inventory for 0 Meat with no limit
 
Top