Committing the island generator script, and a bugfix

region_api.cpp had a bug, where a glue function's name was used twice. It
was an easy catch, but there was an issue in the new script, where I was
counting from 0 instead of 1. As a result, I was chasing a segfault for 5
hours.
This commit is contained in:
Kayne Ruse
2014-06-23 10:29:39 +10:00
parent f5c58bf5ad
commit 95362286f8
5 changed files with 53 additions and 9 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ static int onUnload(lua_State* L) {
static const luaL_Reg regionLib[] = {
{"SetTile",setTile},
{"SetTile",getTile},
{"GetTile",getTile},
{"GetX",getX},
{"GetY",getY},
{"GetWidth",getWidth},