From ea2ed2c918bddf773bb8d10298016f4e5309d0b2 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 3 Oct 2012 08:52:11 +0000 Subject: Moved blockticking into blockhandler classes. Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Blocks/BlockOre.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/Blocks/BlockOre.h') diff --git a/source/Blocks/BlockOre.h b/source/Blocks/BlockOre.h index 86688b761..50f5a88e2 100644 --- a/source/Blocks/BlockOre.h +++ b/source/Blocks/BlockOre.h @@ -13,8 +13,8 @@ class cBlockOreHandler : public cBlockHandler { public: - cBlockOreHandler(BLOCKTYPE a_BlockID) - : cBlockHandler(a_BlockID) + cBlockOreHandler(BLOCKTYPE a_BlockType) + : cBlockHandler(a_BlockType) { } @@ -25,7 +25,7 @@ public: short Meta = 0; MTRand r1; - switch (m_BlockID) + switch (m_BlockType) { case E_BLOCK_LAPIS_ORE: { @@ -47,7 +47,7 @@ public: } } - switch (m_BlockID) + switch (m_BlockType) { case E_BLOCK_DIAMOND_ORE: { -- cgit v1.2.3