Removed unused lookups
This commit is contained in:
parent
80807eec2c
commit
f8881622a4
@ -166,14 +166,12 @@ Direction cFluidSimulator::GetFlowingDirection(int a_X, int a_Y, int a_Z, bool a
|
|||||||
{
|
{
|
||||||
LowestPoint = Meta;
|
LowestPoint = Meta;
|
||||||
X = Pos->x;
|
X = Pos->x;
|
||||||
Pos->y; //Remove if no side effects
|
|
||||||
Z = Pos->z;
|
Z = Pos->z;
|
||||||
}
|
}
|
||||||
}else if(BlockID == E_BLOCK_AIR)
|
}else if(BlockID == E_BLOCK_AIR)
|
||||||
{
|
{
|
||||||
LowestPoint = 9; //This always dominates
|
LowestPoint = 9; //This always dominates
|
||||||
X = Pos->x;
|
X = Pos->x;
|
||||||
Pos->y; //Remove if no side effects
|
|
||||||
Z = Pos->z;
|
Z = Pos->z;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user