mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Sneak glitch: Set default to false
The 'sneak glitch' physics override now controls whether a player can use the new move code replications of the old sneak side-effects: sneak ladders and 2 node sneak jump. This completes our intention to replicate the old sneak side-effects in new code and provide them as an option that is disabled by default.
This commit is contained in:
parent
cca58fe0fd
commit
58c083f305
3 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@ LocalPlayer::LocalPlayer(Client *client, const char *name):
|
|||
physics_override_jump(1.0f),
|
||||
physics_override_gravity(1.0f),
|
||||
physics_override_sneak(true),
|
||||
physics_override_sneak_glitch(true),
|
||||
physics_override_sneak_glitch(false),
|
||||
physics_override_new_move(true), // Temporary option for old move code
|
||||
overridePosition(v3f(0,0,0)),
|
||||
last_position(v3f(0,0,0)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue