From c68aa68c699a618d0172bceacf553ab96fc32cdd Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 18 Oct 2012 19:41:29 +0000 Subject: Fixed a few bugs in fluid placement - fluid into other fluid, fluid into washable blocks. git-svn-id: http://mc-server.googlecode.com/svn/trunk@977 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Items/ItemDoor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/Items/ItemDoor.h') 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 -- cgit v1.2.3