summaryrefslogtreecommitdiffstats
path: root/src/Simulator/FireSimulator.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-10 19:23:12 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-10 19:23:12 +0100
commitb2733fad220243a631f9625cc84a50b70b6f43de (patch)
tree850d8b9d23cac4db981daf909bca42d1c5ca9812 /src/Simulator/FireSimulator.cpp
parentRemoved uneeded meta obtain (diff)
downloadcuberite-b2733fad220243a631f9625cc84a50b70b6f43de.tar
cuberite-b2733fad220243a631f9625cc84a50b70b6f43de.tar.gz
cuberite-b2733fad220243a631f9625cc84a50b70b6f43de.tar.bz2
cuberite-b2733fad220243a631f9625cc84a50b70b6f43de.tar.lz
cuberite-b2733fad220243a631f9625cc84a50b70b6f43de.tar.xz
cuberite-b2733fad220243a631f9625cc84a50b70b6f43de.tar.zst
cuberite-b2733fad220243a631f9625cc84a50b70b6f43de.zip
Diffstat (limited to 'src/Simulator/FireSimulator.cpp')
-rw-r--r--src/Simulator/FireSimulator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Simulator/FireSimulator.cpp b/src/Simulator/FireSimulator.cpp
index 31cc0b670..26712e6e6 100644
--- a/src/Simulator/FireSimulator.cpp
+++ b/src/Simulator/FireSimulator.cpp
@@ -1,3 +1,4 @@
+
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "FireSimulator.h"
@@ -341,7 +342,7 @@ void cFireSimulator::RemoveFuelNeighbors(cChunk * a_Chunk, int a_RelX, int a_Rel
{
continue;
}
- BlockType = Neighbour->GetBlockTypeMeta(X, a_RelY + gCrossCoords[i].y, Z);
+ BlockType = Neighbour->GetBlock(X, a_RelY + gCrossCoords[i].y, Z);
if (!IsFuel(BlockType))
{