projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ff5302
)
Fix wrong return value in get_sky Lua call since ad9fcf859ec2347325830e09504ae96968b51ea8
author
Loic Blot
<loic.blot@unix-experience.fr>
Tue, 23 May 2017 17:59:47 +0000
(19:59 +0200)
committer
Loic Blot
<loic.blot@unix-experience.fr>
Tue, 23 May 2017 17:59:47 +0000
(19:59 +0200)
Fix #5803
src/script/lua_api/l_object.cpp
patch
|
blob
|
history
diff --git
a/src/script/lua_api/l_object.cpp
b/src/script/lua_api/l_object.cpp
index c7a31d0487d2d30e0f9e223a88012a3ecc62e484..aaab0d98eca1bc11bfd8ee5f9b2def0805051eaf 100644
(file)
--- a/
src/script/lua_api/l_object.cpp
+++ b/
src/script/lua_api/l_object.cpp
@@
-1732,7
+1732,7
@@
int ObjectRef::l_get_sky(lua_State *L)
i++;
}
lua_pushboolean(L, clouds);
- return
3
;
+ return
4
;
}
// set_clouds(self, {density=, color=, ambient=, height=, thickness=, speed=})