summaryrefslogtreecommitdiff
path: root/src/gui/windows/inventorywindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r--src/gui/windows/inventorywindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index 8a3a70bdc..9fc6b6b38 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -470,11 +470,11 @@ void InventoryWindow::action(const ActionEvent &event)
if (eventId == "use")
{
- PlayerInfo::useEquipItem(item, Sfx_true);
+ PlayerInfo::useEquipItem(item, 0, Sfx_true);
}
if (eventId == "equip")
{
- PlayerInfo::useEquipItem2(item, Sfx_true);
+ PlayerInfo::useEquipItem2(item, 0, Sfx_true);
}
else if (eventId == "drop")
{
@@ -672,7 +672,7 @@ void InventoryWindow::mouseClicked(MouseEvent &event)
}
else
{
- PlayerInfo::useEquipItem(item, Sfx_true);
+ PlayerInfo::useEquipItem(item, 0, Sfx_true);
}
}
else