diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sword25/gfx/graphicengine.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sword25/gfx/graphicengine.cpp b/engines/sword25/gfx/graphicengine.cpp index e1b0d55923..ca1f37c9d3 100644 --- a/engines/sword25/gfx/graphicengine.cpp +++ b/engines/sword25/gfx/graphicengine.cpp @@ -373,10 +373,10 @@ bool GraphicEngine::saveThumbnailScreenshot(const Common::String &filename) { void GraphicEngine::ARGBColorToLuaColor(lua_State *L, uint color) { lua_Number components[4] = { - (lua_Number)((color >> 16) & 0xff), // Red - (lua_Number)((color >> 8) & 0xff), // Green - (lua_Number)(color & 0xff), // Blue - (lua_Number)(color >> 24), // Alpha + (lua_Number)((color >> 16) & 0xff), // Red + (lua_Number)((color >> 8) & 0xff), // Green + (lua_Number)( color & 0xff), // Blue + (lua_Number)( color >> 24), // Alpha }; lua_newtable(L); |