Commit 88d873be authored by hybrid's avatar hybrid

Fixed color order serialization, found by loverlinfish.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2566 dfc29bdd-3216-0410-991c-e03cc46cb475
parent cbdb585e
......@@ -1238,7 +1238,7 @@ public:
{
char tmp[10];
const video::SColor c = getColor();
sprintf(tmp, "%02x%02x%02x%02x", c.getAlpha(), c.getRed(), c.getBlue(), c.getGreen());
sprintf(tmp, "%02x%02x%02x%02x", c.getAlpha(), c.getRed(), c.getGreen(), c.getBlue());
return core::stringw(tmp);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment