mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 05:53:26 +02:00
bunch of optimizations
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user