From 4c6ceccbd41bfa0cd85900c1cbfa4b495b57b23f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 26 Aug 2016 00:23:36 +0300 Subject: Add constexpr into item. --- src/resources/item/item.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/resources/item/item.cpp') diff --git a/src/resources/item/item.cpp b/src/resources/item/item.cpp index 4627225f2..9d3a1b3f8 100644 --- a/src/resources/item/item.cpp +++ b/src/resources/item/item.cpp @@ -181,11 +181,3 @@ void Item::updateColor() if (serverFeatures && serverFeatures->haveItemColors()) setId(mId, ItemColorManager::getColorFromCards(&mCards[0])); } - -bool Item::isItem(const int id) -{ - return id != 0 && - id != CARD0_FORGE && - id != CARD0_CREATE && - id != CARD0_PET; -} -- cgit v1.2.3-70-g09d2