diff options
author | Kahrl <kahrl@gmx.net> | 2011-09-08 23:31:48 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2011-09-15 01:53:42 +0200 |
commit | fc92da432401051a8cc17618941625aec6b12d20 (patch) | |
tree | 261537186fc2a25ea76f8838c34bdb1b3f079614 /src/camera.h | |
parent | 524cf237b8ccbd233c57feb23a9e06f7ba8ff521 (diff) | |
download | minetest-fc92da432401051a8cc17618941625aec6b12d20.tar.gz minetest-fc92da432401051a8cc17618941625aec6b12d20.tar.bz2 minetest-fc92da432401051a8cc17618941625aec6b12d20.zip |
View bobbing is slower in the water.
Diffstat (limited to 'src/camera.h')
-rw-r--r-- | src/camera.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/camera.h b/src/camera.h index 500168f3d..ba5d72bf4 100644 --- a/src/camera.h +++ b/src/camera.h @@ -136,6 +136,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; }; #endif |