bunch of optimizations

This commit is contained in:
Eduardo Bart
2012-03-20 12:17:10 -03:00
parent 3cd31bcd1e
commit b4261a8c7b
37 changed files with 164 additions and 123 deletions

View File

@@ -116,7 +116,7 @@ bool luavalue_cast(int index, Color& color)
} else if(g_lua.isString()) {
return Fw::cast(g_lua.toString(index), color);
} else if(g_lua.isNil()) {
color = Fw::white;
color = Color::white;
return true;
}
return false;