summaryrefslogtreecommitdiffstats
path: root/source/Items/ItemDoor.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-18 21:41:29 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-18 21:41:29 +0200
commitc68aa68c699a618d0172bceacf553ab96fc32cdd (patch)
treea2eb1d2e76ea183f2c0aee66accd98beeba48e0d /source/Items/ItemDoor.h
parentFixed item damage value not being read from the 1.3.2 protocol (wtf, why was it disabled?) (diff)
downloadcuberite-c68aa68c699a618d0172bceacf553ab96fc32cdd.tar
cuberite-c68aa68c699a618d0172bceacf553ab96fc32cdd.tar.gz
cuberite-c68aa68c699a618d0172bceacf553ab96fc32cdd.tar.bz2
cuberite-c68aa68c699a618d0172bceacf553ab96fc32cdd.tar.lz
cuberite-c68aa68c699a618d0172bceacf553ab96fc32cdd.tar.xz
cuberite-c68aa68c699a618d0172bceacf553ab96fc32cdd.tar.zst
cuberite-c68aa68c699a618d0172bceacf553ab96fc32cdd.zip
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