diff options
author | sapier <Sapier at GMX dot net> | 2013-07-31 17:29:25 +0200 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-08-13 23:48:47 +0200 |
commit | fc571ad46df8f3dcc04745bc55d9ca6e1e82ed87 (patch) | |
tree | ddd55fdce5db910f3229ee183aac19f15933bfd4 /src/script/common | |
parent | d718b0b34eda84744778fa12a01d5be5f03753d3 (diff) | |
download | minetest-fc571ad46df8f3dcc04745bc55d9ca6e1e82ed87.tar.gz minetest-fc571ad46df8f3dcc04745bc55d9ca6e1e82ed87.tar.bz2 minetest-fc571ad46df8f3dcc04745bc55d9ca6e1e82ed87.zip |
Add support for entities to automatic face movement direction
Diffstat (limited to 'src/script/common')
-rw-r--r-- | src/script/common/c_content.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp index ca7c7fde9..cb2b0e737 100644 --- a/src/script/common/c_content.cpp +++ b/src/script/common/c_content.cpp @@ -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); } /******************************************************************************/ |