summaryrefslogtreecommitdiffstats
path: root/source/JukeboxEntity.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/JukeboxEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/JukeboxEntity.cpp b/source/JukeboxEntity.cpp
index c190ffa11..3b4c8e1d9 100644
--- a/source/JukeboxEntity.cpp
+++ b/source/JukeboxEntity.cpp
@@ -40,7 +40,7 @@ void cJukeboxEntity::UsedBy( cPlayer * a_Player )
if (HeldItem.m_ItemType >= 2256 && HeldItem.m_ItemType <= 2267)
{
m_Record = HeldItem.m_ItemType;
- a_Player->UseEquippedItem();
+ a_Player->GetInventory().RemoveItem(a_Player->GetInventory().GetEquippedItem());
PlayRecord();
}
}