diff options
Diffstat (limited to 'src/scriptapi.cpp')
-rw-r--r-- | src/scriptapi.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp index a45c27de6..5453d9b2e 100644 --- a/src/scriptapi.cpp +++ b/src/scriptapi.cpp @@ -915,6 +915,9 @@ static void read_object_properties(lua_State *L, int index, getboolfield(L, -1, "is_visible", prop->is_visible); getboolfield(L, -1, "makes_footstep_sound", prop->makes_footstep_sound); + getfloatfield(L, -1, "automatic_rotate", prop->automatic_rotate); + dstream<<"scriptapi: prop->automatic_rotate=" + <<prop->automatic_rotate<<std::endl; } /* |