summaryrefslogtreecommitdiffstats
path: root/source/JukeboxEntity.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/JukeboxEntity.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/JukeboxEntity.cpp b/source/JukeboxEntity.cpp
index e72f95926..c190ffa11 100644
--- a/source/JukeboxEntity.cpp
+++ b/source/JukeboxEntity.cpp
@@ -21,7 +21,7 @@ cJukeboxEntity::cJukeboxEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld
cJukeboxEntity::~cJukeboxEntity()
{
- if (m_Record >= 2256 && m_Record <= 2266)
+ if (m_Record >= 2256 && m_Record <= 2267)
{
EjectRecord();
m_Record = 0;
@@ -37,14 +37,14 @@ void cJukeboxEntity::UsedBy( cPlayer * a_Player )
if (m_Record == 0)
{
const cItem & HeldItem = a_Player->GetEquippedItem();
- if (HeldItem.m_ItemType >= 2256 && HeldItem.m_ItemType <= 2266)
+ if (HeldItem.m_ItemType >= 2256 && HeldItem.m_ItemType <= 2267)
{
m_Record = HeldItem.m_ItemType;
a_Player->UseEquippedItem();
PlayRecord();
}
}
- else if (m_Record >= 2256 && m_Record <= 2266)
+ else if (m_Record >= 2256 && m_Record <= 2267)
{
EjectRecord();
m_Record = 0;