Fixed compile
This commit is contained in:
parent
0f412a0a02
commit
b2733fad22
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||||
|
|
||||||
#include "FireSimulator.h"
|
#include "FireSimulator.h"
|
||||||
@ -341,7 +342,7 @@ void cFireSimulator::RemoveFuelNeighbors(cChunk * a_Chunk, int a_RelX, int a_Rel
|
|||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
BlockType = Neighbour->GetBlockTypeMeta(X, a_RelY + gCrossCoords[i].y, Z);
|
BlockType = Neighbour->GetBlock(X, a_RelY + gCrossCoords[i].y, Z);
|
||||||
|
|
||||||
if (!IsFuel(BlockType))
|
if (!IsFuel(BlockType))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user