Fix uninitialized variable Player::local_animation_speed
This commit is contained in:
parent
b21230b329
commit
3444dec2db
|
@ -86,6 +86,7 @@ Player::Player(IGameDef *gamedef, const char *name):
|
|||
movement_liquid_fluidity_smooth = 0.5 * BS;
|
||||
movement_liquid_sink = 10 * BS;
|
||||
movement_gravity = 9.81 * BS;
|
||||
local_animation_speed = 0.0;
|
||||
|
||||
// Movement overrides are multipliers and must be 1 by default
|
||||
physics_override_speed = 1;
|
||||
|
|
Loading…
Reference in New Issue