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:
e988df0
)
Corrected segfault when registering new biomes.
author
sweetbomber
<ffrogger _zero_ at yahoo dot com>
Mon, 3 Jun 2013 14:59:13 +0000
(15:59 +0100)
committer
Kahrl
<kahrl@gmx.net>
Mon, 3 Jun 2013 18:35:51 +0000
(20:35 +0200)
src/script/lua_api/luaapi.cpp
patch
|
blob
|
history
diff --git
a/src/script/lua_api/luaapi.cpp
b/src/script/lua_api/luaapi.cpp
index b75304b3abfc253ce78bba0a75e07fc0f6a565ab..6d7e32730dc191351e5fb4f30a2620a8700c97aa 100644
(file)
--- a/
src/script/lua_api/luaapi.cpp
+++ b/
src/script/lua_api/luaapi.cpp
@@
-178,9
+178,9
@@
int ModApiBasic::l_register_biome(lua_State *L)
b->flags = 0; //reserved
b->c_top = CONTENT_IGNORE;
b->c_filler = CONTENT_IGNORE;
+ verbosestream << "register_biome: " << b->name << std::endl;
bmgr->addBiome(b);
- verbosestream << "register_biome: " << b->name << std::endl;
return 0;
}