1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Add third person view

This commit is contained in:
BlockMen
2014-01-08 13:47:53 +01:00
parent e149d1ad9a
commit a1db9242ec
19 changed files with 270 additions and 22 deletions

View File

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