summaryrefslogtreecommitdiffstats
path: root/source/Items/ItemDoor.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Items/ItemDoor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Items/ItemDoor.h b/source/Items/ItemDoor.h
index 6e841333f..949ad833a 100644
--- a/source/Items/ItemDoor.h
+++ b/source/Items/ItemDoor.h
@@ -7,8 +7,8 @@
class cItemDoorHandler : public cItemHandler
{
public:
- cItemDoorHandler(int a_ItemID)
- : cItemHandler(a_ItemID)
+ cItemDoorHandler(int a_ItemType)
+ : cItemHandler(a_ItemType)
{
}
@@ -20,7 +20,7 @@ public:
virtual BLOCKTYPE GetBlockType() override
{
- return (m_ItemID == E_ITEM_WOODEN_DOOR) ? E_BLOCK_WOODEN_DOOR : E_BLOCK_IRON_DOOR;
+ return (m_ItemType == E_ITEM_WOODEN_DOOR) ? E_BLOCK_WOODEN_DOOR : E_BLOCK_IRON_DOOR;
}
}; \ No newline at end of file