Fixed a bug with TNT waking simulators
This commit is contained in:
parent
f9e1be0d57
commit
96759637e9
@ -1674,9 +1674,9 @@ void cChunkMap::DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_
|
|||||||
|
|
||||||
// Wake up all simulators for the area, so that water and lava flows and sand falls into the blasted holes (FS #391):
|
// Wake up all simulators for the area, so that water and lava flows and sand falls into the blasted holes (FS #391):
|
||||||
WakeUpSimulatorsInArea(
|
WakeUpSimulatorsInArea(
|
||||||
bx - ExplosionSizeInt, bx + ExplosionSizeInt + 1,
|
bx - ExplosionSizeInt - 1, bx + ExplosionSizeInt + 1,
|
||||||
MinY, MaxY,
|
MinY, MaxY,
|
||||||
bz - ExplosionSizeInt, bz + ExplosionSizeInt + 1
|
bz - ExplosionSizeInt - 1, bz + ExplosionSizeInt + 1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user