aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-03-28 10:45:32 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2015-03-28 10:46:01 +0100
commit3444dec2db30b8aa8a4e9c268fdba2f84b870ce3 (patch)
treef35e9791c1a1234f604a27a1efb9234b7560126f
parentb21230b329665492c9e9337860950a68b9ef40c1 (diff)
downloadminetest-3444dec2db30b8aa8a4e9c268fdba2f84b870ce3.tar.gz
minetest-3444dec2db30b8aa8a4e9c268fdba2f84b870ce3.tar.bz2
minetest-3444dec2db30b8aa8a4e9c268fdba2f84b870ce3.zip
Fix uninitialized variable Player::local_animation_speed
-rw-r--r--src/player.cpp1
1 files changed, 1 insertions, 0 deletions
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;