What steps will reproduce the problem?
1. Loot something that stacks
What is the expected output? What do you see instead?
Expected: No inventory space warning, since number of available slots hasn't changed
Instead: I get a warning whenever I loot simething -.-
Please provide any additional information below.
A possible fix would be using UNIT_INVENTORY_CHANGED instead of ITEM_PUSH as this one _really_ only fires when the number of available slots changes. ITEM_PUSH fires also when an item stacks and is therefore not the best choice here. Otherwise, some more logic checks would be needed.
|ckaotik||May 04, 2012 at 10:47 UTC||Create|
- 1 comment