From 9bd79a4104f918dea4c6e1362d619065db78ad8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Tue, 27 Oct 2020 20:52:29 +0100 Subject: [PATCH] Fixed broken tile bounds --- src/map/IMG/trefile.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map/IMG/trefile.cpp b/src/map/IMG/trefile.cpp index 745807bd..a8dbd5d0 100644 --- a/src/map/IMG/trefile.cpp +++ b/src/map/IMG/trefile.cpp @@ -193,6 +193,7 @@ bool TREFile::load(int idx) width &= 0x7FFF; width = LS(width, 24 - level.bits); + height &= 0x7FFF; height = LS(height, 24 - level.bits); s = new SubDiv(offset, lon, lat, level.level, level.bits, objects);