diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-02-27 03:36:52 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-02-27 03:36:52 +0200 |
commit | 1b57518ca97c670174f89c5af28659b6ad0c3d42 (patch) | |
tree | 369c6e2f8cfbd791f252de68c0f85bd1af47c351 /src/net/tmwa/inventoryhandler.h | |
parent | 037248d338291529e0c044a80ca8345abe05dd2b (diff) | |
download | manaplus-1b57518ca97c670174f89c5af28659b6ad0c3d42.tar.gz manaplus-1b57518ca97c670174f89c5af28659b6ad0c3d42.tar.bz2 manaplus-1b57518ca97c670174f89c5af28659b6ad0c3d42.tar.xz manaplus-1b57518ca97c670174f89c5af28659b6ad0c3d42.zip |
Implement receiving item color from server.
Diffstat (limited to 'src/net/tmwa/inventoryhandler.h')
-rw-r--r-- | src/net/tmwa/inventoryhandler.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/tmwa/inventoryhandler.h b/src/net/tmwa/inventoryhandler.h index cc2286f2f..8dd39a781 100644 --- a/src/net/tmwa/inventoryhandler.h +++ b/src/net/tmwa/inventoryhandler.h @@ -109,15 +109,18 @@ class InventoryItem int slot; int id; int quantity; + unsigned char color; int refine; bool equip; - InventoryItem(int slot, int id, int quantity, int refine, bool equip) + InventoryItem(int slot, int id, int quantity, int refine, + unsigned char color, bool equip) { this->slot = slot; this->id = id; this->quantity = quantity; this->refine = refine; + this->color = color; this->equip = equip; } }; |