aboutsummaryrefslogtreecommitdiff
path: root/src/content_cao.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_cao.h')
-rw-r--r--src/content_cao.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/content_cao.h b/src/content_cao.h
index d6d5deac8..dc254ad5b 100644
--- a/src/content_cao.h
+++ b/src/content_cao.h
@@ -147,6 +147,11 @@ public:
scene::IAnimatedMeshSceneNode *getAnimatedMeshSceneNode();
+ inline f32 getStepHeight() const
+ {
+ return m_prop.stepheight;
+ }
+
inline bool isLocalPlayer() const
{
return m_is_local_player;