Fixed signs not staying on other signs
This commit is contained in:
parent
de9d908792
commit
0b9eb20b92
@ -39,8 +39,9 @@ public:
|
||||
{
|
||||
return false;
|
||||
}
|
||||
BLOCKTYPE Type = a_Chunk.GetBlock(a_RelX, a_RelY - 1, a_RelZ);
|
||||
|
||||
return (cBlockInfo::IsSolid(a_Chunk.GetBlock(a_RelX, a_RelY - 1, a_RelZ)));
|
||||
return ((Type == E_BLOCK_SIGN_POST) || cBlockInfo::IsSolid(Type));
|
||||
}
|
||||
|
||||
|
||||
|
@ -49,8 +49,9 @@ public:
|
||||
int BlockX = (a_Chunk.GetPosX() * cChunkDef::Width) + a_RelX;
|
||||
int BlockZ = (a_Chunk.GetPosZ() * cChunkDef::Width) + a_RelZ;
|
||||
GetBlockCoordsBehindTheSign(a_Chunk.GetMeta(a_RelX, a_RelY, a_RelZ), BlockX, BlockZ);
|
||||
BLOCKTYPE Type = a_ChunkInterface.GetBlock(BlockX, a_RelY, BlockZ);
|
||||
|
||||
return (cBlockInfo::IsSolid(a_ChunkInterface.GetBlock(BlockX, a_RelY, BlockZ)));
|
||||
return ((Type == E_BLOCK_WALLSIGN) || (Type == E_BLOCK_SIGN_POST) || cBlockInfo::IsSolid(Type));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user