1
0
Fork 0
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:
sapier 2013-07-31 17:29:25 +02:00 committed by PilzAdam
parent d718b0b34e
commit fc571ad46d
7 changed files with 18 additions and 1 deletions

View file

@ -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);
}
/******************************************************************************/