summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 17:45:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 17:45:52 +0300
commit2d32dc27210d16102f9200de115f2c3f79a5cb22 (patch)
tree5aa84ebe6c5c1d708b14bee2bf0ce95df714fc1d /src/inventory.h
parent7bdb50605562e47f1d6ae134881c09bd42293be5 (diff)
downloadmanaplus-2d32dc27210d16102f9200de115f2c3f79a5cb22.tar.gz
manaplus-2d32dc27210d16102f9200de115f2c3f79a5cb22.tar.bz2
manaplus-2d32dc27210d16102f9200de115f2c3f79a5cb22.tar.xz
manaplus-2d32dc27210d16102f9200de115f2c3f79a5cb22.zip
Use BeingTypeId in Being for subtypeid.
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 4bde1a3da..f7b647780 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -25,6 +25,7 @@
#include "enums/inventorytype.h"
+#include "enums/simpletypes/beingtypeid.h"
#include "enums/simpletypes/damaged.h"
#include "enums/simpletypes/equipm.h"
#include "enums/simpletypes/equipped.h"
@@ -163,7 +164,8 @@ class Inventory final
const Item *findItemBySprite(std::string spritePath,
const Gender::Type gender,
- const int race) const A_WARN_UNUSED;
+ const BeingTypeId race)
+ const A_WARN_UNUSED;
std::string getName() const A_WARN_UNUSED;