From 3444dec2db30b8aa8a4e9c268fdba2f84b870ce3 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Sat, 28 Mar 2015 10:45:32 +0100 Subject: [PATCH] Fix uninitialized variable Player::local_animation_speed --- src/player.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/player.cpp b/src/player.cpp index 08cb24248..4a5e5ad91 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -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; -- 2.25.1