aboutsummaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2014-01-08 13:47:53 +0100
committerBlockMen <nmuelll@web.de>2014-04-12 17:44:15 +0200
commita1db9242ec491efdee70a7184aa61e861b17595a (patch)
tree04bdd2302f8b3c4285ddb8f5ba669f7adc6bf4b9 /src/localplayer.cpp
parente149d1ad9a623b9f8ca597839f7b850841c54781 (diff)
downloadminetest-a1db9242ec491efdee70a7184aa61e861b17595a.tar.gz
minetest-a1db9242ec491efdee70a7184aa61e861b17595a.tar.bz2
minetest-a1db9242ec491efdee70a7184aa61e861b17595a.zip
Add third person view
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index a6f04849a..276d8e57c 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -50,7 +50,9 @@ LocalPlayer::LocalPlayer(IGameDef *gamedef):
m_old_node_below(32767,32767,32767),
m_old_node_below_type("air"),
m_need_to_get_new_sneak_node(true),
- m_can_jump(false)
+ m_can_jump(false),
+ camera_mode(0),
+ last_animation(NO_ANIM)
{
// Initialize hp to 0, so that no hearts will be shown if server
// doesn't support health points