Skip to content

Commit

Permalink
Fixed global wmo tile generation
Browse files Browse the repository at this point in the history
  • Loading branch information
namreeb committed Jul 24, 2024
1 parent 75213df commit f03d9f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MapBuilder/MeshBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1325,11 +1325,11 @@ void GlobalWMO::Serialize(const fs::path& filename) const
outBuffer << static_cast<std::uint32_t>(0)
<< static_cast<std::uint32_t>(0);

// height field and finalized tile buffer
outBuffer.Append(tile.second);

// the '0' indicates that there is no quad height data for this tile
outBuffer << static_cast<std::uint8_t>(0);

// height field and finalized tile buffer
outBuffer.Append(tile.second);
}

// temporary just to make sure our calculation still works. if it doesnt,
Expand Down

0 comments on commit f03d9f1

Please sign in to comment.