From 2d32dc27210d16102f9200de115f2c3f79a5cb22 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 May 2015 17:45:52 +0300 Subject: Use BeingTypeId in Being for subtypeid. --- src/inventory.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/inventory.h') 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; -- cgit v1.2.3-60-g2f50