Fix uninitialized variable Player::local_animation_speed

pull/2569/head
Loic Blot 2015-03-28 10:45:32 +01:00
parent b21230b329
commit 3444dec2db
1 changed files with 1 additions and 0 deletions

View File

@ -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;