summaryrefslogtreecommitdiff
path: root/src/resources/item/item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/item/item.cpp')
-rw-r--r--src/resources/item/item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/item/item.cpp b/src/resources/item/item.cpp
index ae31dd94c..044e11fdb 100644
--- a/src/resources/item/item.cpp
+++ b/src/resources/item/item.cpp
@@ -87,7 +87,7 @@ void Item::setId(const int id,
mColor = color;
// Types 0 and 1 are not equippable items.
- mEquipment = fromBool(id && static_cast<int>(getInfo().getType())
+ mEquipment = fromBool(id && CAST_S32(getInfo().getType())
>= 2, Equipm);
if (mImage)