mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:53:50 +00:00
MapColourColumn::set() uses the correct color value
This commit is contained in:
parent
caeba1b887
commit
e516d37cbf
1 changed files with 1 additions and 1 deletions
|
@ -694,7 +694,7 @@ namespace CSMWorld
|
|||
|
||||
QColor colour = data.value<QColor>();
|
||||
|
||||
record2.mMapColor = colour.rgb() & 0xffffff;
|
||||
record2.mMapColor = (colour.blue() << 16) | (colour.green() << 8) | colour.red();
|
||||
|
||||
record.setModified (record2);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue