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.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inventory.cpp') diff --git a/src/inventory.cpp b/src/inventory.cpp index c58997ce6..dd0e516ad 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -255,7 +255,7 @@ void Inventory::distributeSlotsChangedEvent() const Item *Inventory::findItemBySprite(std::string spritePath, const Gender::Type gender, - const int race) const + const BeingTypeId race) const { spritePath = removeSpriteIndex(spritePath); -- cgit v1.2.3-60-g2f50