summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-07-31 17:29:25 +0200
committerPilzAdam <pilzadam@minetest.net>2013-08-13 23:48:47 +0200
commitfc571ad46df8f3dcc04745bc55d9ca6e1e82ed87 (patch)
treeddd55fdce5db910f3229ee183aac19f15933bfd4 /src/script
parentd718b0b34eda84744778fa12a01d5be5f03753d3 (diff)
downloadminetest-fc571ad46df8f3dcc04745bc55d9ca6e1e82ed87.tar.gz
minetest-fc571ad46df8f3dcc04745bc55d9ca6e1e82ed87.tar.bz2
minetest-fc571ad46df8f3dcc04745bc55d9ca6e1e82ed87.zip
Add support for entities to automatic face movement direction
Diffstat (limited to 'src/script')
-rw-r--r--src/script/common/c_content.cpp1
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);
}
/******************************************************************************/