summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemArmor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Items/ItemArmor.h')
-rw-r--r--src/Items/ItemArmor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemArmor.h b/src/Items/ItemArmor.h
index 906993a5b..d218c22b3 100644
--- a/src/Items/ItemArmor.h
+++ b/src/Items/ItemArmor.h
@@ -61,7 +61,7 @@ public:
{
Item.Empty();
}
- a_Player->GetInventory().SetHotbarSlot(a_Player->GetInventory().GetEquippedSlotNum(), Item);
+ a_Player->GetInventory().SetEquippedItem(Item);
return true;
}