mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add player:set_eye_offset() by @MirceaKitsune and clean up
This commit is contained in:
parent
a1db9242ec
commit
c0ab09af74
16 changed files with 108 additions and 13 deletions
|
@ -52,7 +52,9 @@ LocalPlayer::LocalPlayer(IGameDef *gamedef):
|
|||
m_need_to_get_new_sneak_node(true),
|
||||
m_can_jump(false),
|
||||
camera_mode(0),
|
||||
last_animation(NO_ANIM)
|
||||
last_animation(NO_ANIM),
|
||||
eye_offset_first(v3f(0,0,0)),
|
||||
eye_offset_third(v3f(0,0,0))
|
||||
{
|
||||
// Initialize hp to 0, so that no hearts will be shown if server
|
||||
// doesn't support health points
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue