summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-18 20:12:08 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-18 20:12:08 +0300
commita3e458c6c5d1fc7cda0afcab74ff95f7a63b728a (patch)
treefa759f93777d9439c4787c83b43669dcd865db74 /src/actions/actions.cpp
parenta044c97c30d014b7b8db7d72b03dc48829e1099a (diff)
downloadmanaplus-a3e458c6c5d1fc7cda0afcab74ff95f7a63b728a.tar.gz
manaplus-a3e458c6c5d1fc7cda0afcab74ff95f7a63b728a.tar.bz2
manaplus-a3e458c6c5d1fc7cda0afcab74ff95f7a63b728a.tar.xz
manaplus-a3e458c6c5d1fc7cda0afcab74ff95f7a63b728a.zip
Add missing type casts.
Diffstat (limited to 'src/actions/actions.cpp')
-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
{