mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
Ice: Implement other acceleration for ice
This commit is contained in:
@@ -103,7 +103,7 @@ void ItemEntity::tick()
|
||||
dragFactor = 0.588f;
|
||||
TileID tile = m_pLevel->getTile(Mth::floor(m_pos.x), Mth::floor(m_hitbox.min.y) - 1, Mth::floor(m_pos.z));
|
||||
if (tile > 0)
|
||||
dragFactor = Tile::tiles[tile]->field_30 * 0.98f;
|
||||
dragFactor = Tile::tiles[tile]->m_acceleration * 0.98f;
|
||||
}
|
||||
|
||||
m_vel.x *= dragFactor;
|
||||
|
||||
Reference in New Issue
Block a user