mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 17:12:25 -05:00
Fix minor water/lava offset being in opposite direction compared to original minecraft classic
This commit is contained in:
parent
4bf0cda6e2
commit
0fae073703
1 changed files with 2 additions and 2 deletions
|
@ -293,8 +293,8 @@ void Block_CalcRenderBounds(BlockID block) {
|
|||
Vec3 min = Blocks.MinBB[block], max = Blocks.MaxBB[block];
|
||||
|
||||
if (Blocks.IsLiquid[block]) {
|
||||
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.X += 0.1f/16.0f; max.X += 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;
|
||||
} else if (Blocks.Draw[block] == DRAW_TRANSLUCENT && Blocks.Collide[block] != COLLIDE_SOLID) {
|
||||
min.X += 0.1f/16.0f; max.X += 0.1f/16.0f;
|
||||
|
|
Loading…
Reference in a new issue