aboutsummaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2017-09-23 16:29:48 +0200
committerparamat <mat.gregory@virginmedia.com>2017-09-28 20:36:53 +0100
commitf729b5d2bdc65ce3c51f1004c58cb93a37504b49 (patch)
tree33568b2f51c1bd6f0adf69229cdc5b69d65b908a /src/localplayer.h
parent7e488b926b97df387bea68f71406123332b7a707 (diff)
downloaddragonfireclient-f729b5d2bdc65ce3c51f1004c58cb93a37504b49.tar.xz
Localplayer: Fix disable_jump effect and getStandingNodePos()
Leave the old move code untouched.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index a407181b1..a3c97db5d 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -151,6 +151,7 @@ private:
float getSlipFactor(Environment *env, const v3f &speedH);
v3f m_position;
+ v3s16 m_standing_node;
v3s16 m_sneak_node = v3s16(32767, 32767, 32767);
// Stores the top bounding box of m_sneak_node