This commit is contained in:
MihailRis 2026-03-05 21:38:53 +03:00
parent dbc7cd56bd
commit 8c06048b7e

View file

@ -145,7 +145,7 @@ static bool calc_collision_neg_y(
if (vel.y < 0.0f) {
vel.y = 0.0f;
if (hitbox.groundMaterial.empty()) {
hitbox.groundMaterial = hitbox.material;
hitbox.groundMaterial = box->material;
}
return true;
}