summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 6c1025650..a8ad2a63f 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1658,7 +1658,7 @@ impHandler(useItemInv)
{
Item *const item = getItemByInvIndex(param1,
InventoryType::Inventory);
- PlayerInfo::useEquipItem(item, param2, Sfx_true);
+ PlayerInfo::useEquipItem(item, CAST_S16(param2), Sfx_true);
}
else
{