Realised suggestions

This commit is contained in:
Tiger Wang
2014-03-31 21:36:19 +01:00
parent ee07b7ae3e
commit fc940b6da4
2 changed files with 12 additions and 6 deletions
+4 -1
View File
@@ -94,7 +94,10 @@ public:
BLOCKTYPE BlockType;
if (
((a_RelY + y < 0) || (a_RelY + y > cChunkDef::Height)) ||
(!a_Chunk.UnboundedRelGetBlockType(a_RelX + x, a_RelY + y, a_RelZ + z, BlockType) || !cFireSimulator::IsFuel(BlockType))
(
!a_Chunk.UnboundedRelGetBlockType(a_RelX + x, a_RelY + y, a_RelZ + z, BlockType) ||
!cFireSimulator::IsFuel(BlockType)
)
)
{
return false;