projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b21230b
)
Fix uninitialized variable Player::local_animation_speed
author
Loic Blot
<loic.blot@unix-experience.fr>
Sat, 28 Mar 2015 09:45:32 +0000
(10:45 +0100)
committer
Loic Blot
<loic.blot@unix-experience.fr>
Sat, 28 Mar 2015 09:46:01 +0000
(10:46 +0100)
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index 08cb24248396a59e7d967bce1597b3a3eb6dfcf2..4a5e5ad91ed21f7ee94b224ad8c748d25c118587 100644
(file)
--- 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;