Fixes GetItemStat() by allowing negative values.

This commit is contained in:
KinglyKrab
2014-06-04 23:37:59 -04:00
parent e9c4613368
commit 412d44b065
5 changed files with 164 additions and 162 deletions
+1 -1
View File
@@ -787,7 +787,7 @@ public:
void SetMaterial(int16 slot_id, uint32 item_id);
void Undye();
uint32 GetItemIDAt(int16 slot_id);
uint32 GetAugmentIDAt(int16 slot_id, uint8 augslot);
int32 GetAugmentIDAt(int16 slot_id, uint8 augslot);
bool PutItemInInventory(int16 slot_id, const ItemInst& inst, bool client_update = false);
bool PushItemOnCursor(const ItemInst& inst, bool client_update = false);
void DeleteItemInInventory(int16 slot_id, int8 quantity = 0, bool client_update = false, bool update_db = true);