projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55ecde6
)
LuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects
author
kwolekr
<kwolekr@minetest.net>
Sat, 6 Jul 2013 19:12:40 +0000
(15:12 -0400)
committer
kwolekr
<kwolekr@minetest.net>
Sat, 6 Jul 2013 19:12:40 +0000
(15:12 -0400)
src/script/lua_api/l_vmanip.cpp
patch
|
blob
|
history
diff --git
a/src/script/lua_api/l_vmanip.cpp
b/src/script/lua_api/l_vmanip.cpp
index 50a48e89b6d4b915f173b97d4d75ddd6f7623028..195682579f7fa64ca5103096962da1ae314029ee 100644
(file)
--- a/
src/script/lua_api/l_vmanip.cpp
+++ b/
src/script/lua_api/l_vmanip.cpp
@@
-111,8
+111,6
@@
int LuaVoxelManip::l_write_to_map(lua_State *L)
int LuaVoxelManip::l_update_liquids(lua_State *L)
{
LuaVoxelManip *o = checkobject(L, 1);
- if (!o->is_mapgen_vm)
- return 0;
INodeDefManager *ndef = STACK_TO_SERVER(L)->getNodeDefManager();
Map *map = &(get_scriptapi(L)->getEnv()->getMap());