mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix
This commit is contained in:
parent
dbc7cd56bd
commit
8c06048b7e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue