projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modernize client code (#6250)
[oweals/minetest.git]
/
src
/
content_cao.h
diff --git
a/src/content_cao.h
b/src/content_cao.h
index d6d5deac8fe5884599d8062d8409306210324f8c..dc254ad5b4eb9489f76edefa544a85bb643aa0d4 100644
(file)
--- 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;