mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-09 23:41:09 -04:00
Fix minor water/lava offset being in opposite direction compared to original minecraft classic
This commit is contained in:
parent
4bf0cda6e2
commit
0fae073703
@ -293,8 +293,8 @@ void Block_CalcRenderBounds(BlockID block) {
|
|||||||
Vec3 min = Blocks.MinBB[block], max = Blocks.MaxBB[block];
|
Vec3 min = Blocks.MinBB[block], max = Blocks.MaxBB[block];
|
||||||
|
|
||||||
if (Blocks.IsLiquid[block]) {
|
if (Blocks.IsLiquid[block]) {
|
||||||
min.X -= 0.1f/16.0f; max.X -= 0.1f/16.0f;
|
min.X += 0.1f/16.0f; max.X += 0.1f/16.0f;
|
||||||
min.Z -= 0.1f/16.0f; max.Z -= 0.1f/16.0f;
|
min.Z += 0.1f/16.0f; max.Z += 0.1f/16.0f;
|
||||||
min.Y -= 1.5f/16.0f; max.Y -= 1.5f/16.0f;
|
min.Y -= 1.5f/16.0f; max.Y -= 1.5f/16.0f;
|
||||||
} else if (Blocks.Draw[block] == DRAW_TRANSLUCENT && Blocks.Collide[block] != COLLIDE_SOLID) {
|
} else if (Blocks.Draw[block] == DRAW_TRANSLUCENT && Blocks.Collide[block] != COLLIDE_SOLID) {
|
||||||
min.X += 0.1f/16.0f; max.X += 0.1f/16.0f;
|
min.X += 0.1f/16.0f; max.X += 0.1f/16.0f;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user