Updated LÖVE source to changeset da332813bc05

This commit is contained in:
Martin Felis
2015-12-20 22:52:22 +01:00
parent eac5db7e10
commit 08d51fbf28
38 changed files with 851 additions and 463 deletions
+5 -1
View File
@@ -465,7 +465,11 @@ bool luax_istype(lua_State *L, int idx, love::Type type)
return false;
Proxy *p = (Proxy *) lua_touserdata(L, idx);
return typeFlags[p->type][type];
if (p->type > INVALID_ID && p->type < TYPE_MAX_ENUM)
return typeFlags[p->type][type];
else
return false;
}
int luax_getfunction(lua_State *L, const char *mod, const char *fn)