diff --git a/src/map/tileloader.cpp b/src/map/tileloader.cpp index 981910ad..b677fa3c 100644 --- a/src/map/tileloader.cpp +++ b/src/map/tileloader.cpp @@ -55,10 +55,8 @@ static QString quadKey(const QPoint &xy, int zoom) unsigned mask = 1 << (i - 1); if (xy.x() & mask) digit++; - if (xy.y() & mask) { - digit++; - digit++; - } + if (xy.y() & mask) + digit += 2; qk.append(digit); }