summaryrefslogtreecommitdiff
path: root/src/camera.h
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2011-09-18 02:17:39 +0200
committerKahrl <kahrl@gmx.net>2011-09-18 02:17:39 +0200
commitae66d611f2020e0fddb45f40af2d42c13e7ba585 (patch)
treef61c14fe4d70e7d73909eb086aab89623caa7d28 /src/camera.h
parentacfb2bb8bced286626fa1fc04d56c9ba9ff82d48 (diff)
downloadminetest-ae66d611f2020e0fddb45f40af2d42c13e7ba585.tar.gz
minetest-ae66d611f2020e0fddb45f40af2d42c13e7ba585.tar.bz2
minetest-ae66d611f2020e0fddb45f40af2d42c13e7ba585.zip
This looks more like MC view bobbing, but still not even close
Diffstat (limited to 'src/camera.h')
-rw-r--r--src/camera.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/camera.h b/src/camera.h
index a6dd7476f..dd9f30551 100644
--- a/src/camera.h
+++ b/src/camera.h
@@ -147,8 +147,8 @@ private:
// If 1, view bobbing is on (player is walking).
// If 2, view bobbing is getting switched off.
s32 m_view_bobbing_state;
- // If true, view bobbing is slown down (player is swimming)
- bool m_view_bobbing_slow;
+ // Speed of view bobbing animation
+ f32 m_view_bobbing_speed;
};
#endif