1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-05 19:31:04 +00:00

Use stepheight from CAO instead of hardcoded value

This commit is contained in:
Sapier 2015-12-19 16:37:13 +01:00 committed by Ekdohibs
parent 5ebf8f9450
commit 45ab62d6a3
4 changed files with 19 additions and 3 deletions

View file

@ -154,6 +154,12 @@ public:
scene::IBillboardSceneNode *getSpriteSceneNode();
inline f32 getStepheight() const
{
return m_prop.stepheight;
}
inline bool isPlayer() const
{
return m_is_player;