mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Add support for entities to automatic face movement direction
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
|
Reference in New Issue
Block a user