diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/map_extractor/System.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/map_extractor/System.cpp b/src/tools/map_extractor/System.cpp index cc374659afb..25868c25e1f 100644 --- a/src/tools/map_extractor/System.cpp +++ b/src/tools/map_extractor/System.cpp @@ -452,6 +452,7 @@ bool ConvertADT(std::string const& inputPath, std::string const& outputPath, int // Set map height as grid height for (int y=0; y <= ADT_CELL_SIZE; y++) { + // edge V9s are overlapping between cells (i * ADT_CELL_SIZE is correct, otherwise we would be missing a row/column of V8s between) int cy = i*ADT_CELL_SIZE + y; for (int x=0; x <= ADT_CELL_SIZE; x++) { @@ -475,6 +476,7 @@ bool ConvertADT(std::string const& inputPath, std::string const& outputPath, int // get V9 height map for (int y=0; y <= ADT_CELL_SIZE; y++) { + // edge V9s are overlapping between cells (i * ADT_CELL_SIZE is correct, otherwise we would be missing a row/column of V8s between) int cy = i*ADT_CELL_SIZE + y; for (int x=0; x <= ADT_CELL_SIZE; x++) { |