Overhaul of animstep, implement tangible.build
This commit is contained in:
@@ -175,7 +175,7 @@ void LuaStack::getclass(LuaSlot classtab, LuaSlot classname) const {
|
||||
} else {
|
||||
LS.set(classtab, classname);
|
||||
if (!LS.istable(classtab)) {
|
||||
luaL_error(L_, "parameter must be a class");
|
||||
luaL_error(L_, "class can be a string or a table");
|
||||
}
|
||||
LS.rawget(cname, classtab, "__class");
|
||||
if (!LS.isstring(cname)) {
|
||||
|
||||
Reference in New Issue
Block a user