mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add support for entities to automatic face movement direction
This commit is contained in:
parent
d718b0b34e
commit
fc571ad46d
7 changed files with 18 additions and 1 deletions
|
@ -190,6 +190,7 @@ void read_object_properties(lua_State *L, int index,
|
|||
getfloatfield(L, -1, "automatic_rotate", prop->automatic_rotate);
|
||||
getfloatfield(L, -1, "stepheight", prop->stepheight);
|
||||
prop->stepheight*=BS;
|
||||
getboolfield(L, -1, "automatic_face_movement_dir", prop->automatic_face_movement_dir);
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue