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:
parent
5ebf8f9450
commit
45ab62d6a3
4 changed files with 19 additions and 3 deletions
|
@ -154,6 +154,12 @@ public:
|
|||
|
||||
scene::IBillboardSceneNode *getSpriteSceneNode();
|
||||
|
||||
|
||||
inline f32 getStepheight() const
|
||||
{
|
||||
return m_prop.stepheight;
|
||||
}
|
||||
|
||||
inline bool isPlayer() const
|
||||
{
|
||||
return m_is_player;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue