PINK: Convert BGR color to RGB color

This commit is contained in:
Avijeet 2022-07-02 12:10:01 +05:30 committed by Eugene Sandulenko
parent 7beaa38ef6
commit 7dcb1f91ed

View File

@ -66,6 +66,7 @@ void ActionText::deserialize(Archive &archive) {
_centered = archive.readDWORD();
_scrollBar = archive.readDWORD();
_textRGB = archive.readDWORD();
_textRGB = ((_textRGB >> 16) & 0xFF) | (((_textRGB >> 8) & 0xFF) << 8) | ((_textRGB & 0xFF) << 16);
_backgroundRGB = archive.readDWORD();
}