diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-12 23:59:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-13 00:04:53 +0300 |
commit | 0a7725600eecd8491f3c814110bb434824e71252 (patch) | |
tree | 05df7742a9697f394a9478082fdeb15a46d4bbb4 /src/inventory.h | |
parent | 9e53440cb2dbcfd4311ce2566eb98839383738c7 (diff) | |
download | manaverse-0a7725600eecd8491f3c814110bb434824e71252.tar.gz manaverse-0a7725600eecd8491f3c814110bb434824e71252.tar.bz2 manaverse-0a7725600eecd8491f3c814110bb434824e71252.tar.xz manaverse-0a7725600eecd8491f3c814110bb434824e71252.zip |
Use per race equipment sprites.
Example: <sprite gender="male" race="4">...</sprite>
Diffstat (limited to 'src/inventory.h')
-rw-r--r-- | src/inventory.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inventory.h b/src/inventory.h index d210c65e2..85756b66f 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -149,7 +149,8 @@ class Inventory bool isMainInventory() const { return mType == INVENTORY; } - Item *findItemBySprite(std::string spritePath, Gender gender); + Item *findItemBySprite(std::string spritePath, + Gender gender, int race); std::string getName(); |