Removed cLadder, cSign, cStairs, cTorch and cVine classes, moved their functionality into the appropriate BlockHandlers / ItemHandlers
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1555 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
|
||||
#include "RedstoneSimulator.h"
|
||||
#include "../BlockEntities/DropSpenserEntity.h"
|
||||
#include "../Blocks/BlockTorch.h"
|
||||
#include "../Piston.h"
|
||||
#include "../World.h"
|
||||
#include "../BlockID.h"
|
||||
#include "../Torch.h"
|
||||
#include "../Chunk.h"
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ void cRedstoneSimulator::RefreshTorchesAround(const Vector3i & a_BlockPos)
|
||||
{
|
||||
if (BlockType != TargetBlockType)
|
||||
{
|
||||
if (cTorch::IsAttachedTo(TorchPos, BlockMeta, a_BlockPos))
|
||||
if (cBlockTorchHandler::IsAttachedTo(TorchPos, BlockMeta, a_BlockPos))
|
||||
{
|
||||
m_World.FastSetBlock(TorchPos.x, TorchPos.y, TorchPos.z, TargetBlockType, BlockMeta);
|
||||
m_Blocks.push_back(TorchPos);
|
||||
|
||||
Reference in New Issue
Block a user