1
0
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:
Martin Tůma 2025-05-06 05:52:58 +02:00
parent a8473fa039
commit c070aa062b

View File

@ -120,6 +120,8 @@ bool RGNFile::readBuoyInfo(Handle &hdl, quint8 flags, quint32 size,
if (!(size >= 2 && readUInt16(hdl, val)))
return false;
point->flags = (val & 0x3f)<<24;
lc = (val >> 10) & 0x0f;
if (!lc)
lc = (val >> 6) & 7;