EgtExecutor 1.8g2 :
- EgtSetColor ora accetta anche il nome di un colore standard.
This commit is contained in:
Binary file not shown.
@@ -320,7 +320,12 @@ LuaSetColor( lua_State* L)
|
||||
INTVECTOR vId ;
|
||||
LuaCheckParam( L, 1, vId)
|
||||
Color cCol ;
|
||||
LuaCheckParam( L, 2, cCol)
|
||||
if ( ! LuaGetParam( L, 2, cCol)) {
|
||||
string sColName ;
|
||||
LuaCheckParam( L, 2, sColName)
|
||||
if ( ! ExeStdColor( sColName, cCol))
|
||||
return luaL_error( L, " Invalid Parameter # 2") ;
|
||||
}
|
||||
bool bSetAlpha = true ;
|
||||
LuaGetParam( L, 3, bSetAlpha) ;
|
||||
LuaClearStack( L) ;
|
||||
|
||||
Reference in New Issue
Block a user