mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-05-10 05:07:44 +02:00
Fetch the buoy color info from class data
This commit is contained in:
parent
a8473fa039
commit
c070aa062b
@ -120,6 +120,8 @@ bool RGNFile::readBuoyInfo(Handle &hdl, quint8 flags, quint32 size,
|
|||||||
if (!(size >= 2 && readUInt16(hdl, val)))
|
if (!(size >= 2 && readUInt16(hdl, val)))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
point->flags = (val & 0x3f)<<24;
|
||||||
|
|
||||||
lc = (val >> 10) & 0x0f;
|
lc = (val >> 10) & 0x0f;
|
||||||
if (!lc)
|
if (!lc)
|
||||||
lc = (val >> 6) & 7;
|
lc = (val >> 6) & 7;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user