mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
A bit climb factor cleanup
This commit is contained in:
parent
1a72e156f3
commit
45b8a3bf45
2 changed files with 5 additions and 5 deletions
|
@ -9850,11 +9850,11 @@ Used by `core.register_node`.
|
|||
-- affected by the `movement_liquid_*` settings.
|
||||
|
||||
climb_factor = 1.0,
|
||||
-- The speed at which a climbable node can be climbed is multiplied
|
||||
-- with this number. Must not be negative. No effect if node isn't
|
||||
-- climbable.
|
||||
-- The speed at which a climbable node can be climbed up and down
|
||||
-- is multiplied by this number. Must not be negative. No effect if
|
||||
-- node isn't climbable.
|
||||
-- Note: The base climbing speed is controlled by the setting
|
||||
-- `movement_speed_climb`.
|
||||
-- `movement_speed_climb` multiplied by the physics override `speed_climb`.
|
||||
|
||||
buildable_to = false, -- If true, placed nodes can replace this node
|
||||
|
||||
|
|
|
@ -406,7 +406,7 @@ void ContentFeatures::reset()
|
|||
move_resistance = 0;
|
||||
liquid_move_physics = false;
|
||||
post_effect_color_shaded = false;
|
||||
climb_factor = 1.0;
|
||||
climb_factor = 1.0f;
|
||||
}
|
||||
|
||||
void ContentFeatures::setAlphaFromLegacy(u8 legacy_alpha)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue