mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-27 22:04:39 +00:00
wip: removing vec3 tls
This commit is contained in:
@@ -2490,7 +2490,7 @@ bool Level::checkAndHandleWater(AABB* box, Material* material,
|
||||
}
|
||||
}
|
||||
if (current->length() > 0 && e->isPushedByWater()) {
|
||||
current = current->normalize();
|
||||
*current = current->normalize();
|
||||
double pow = 0.014;
|
||||
e->xd += current->x * pow;
|
||||
e->yd += current->y * pow;
|
||||
|
||||
Reference in New Issue
Block a user