diff options
Diffstat (limited to 'source/JukeboxEntity.cpp')
-rw-r--r-- | source/JukeboxEntity.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/JukeboxEntity.cpp b/source/JukeboxEntity.cpp index 00f4bd533..249e86df2 100644 --- a/source/JukeboxEntity.cpp +++ b/source/JukeboxEntity.cpp @@ -40,8 +40,7 @@ void cJukeboxEntity::UsedBy(cPlayer * a_Player) if (HeldItem.m_ItemType >= 2256 && HeldItem.m_ItemType <= 2267)
{
m_Record = HeldItem.m_ItemType;
- cItem Equipped(a_Player->GetInventory().GetEquippedItem());
- a_Player->GetInventory().RemoveItem(Equipped);
+ a_Player->GetInventory().RemoveOneEquippedItem();
PlayRecord();
}
}
|