tibiamaps / tibia-maps-script

:wrench: A command-line utility to convert between binary Tibia maps and human-readable forms of the map data.
https://tibiamaps.io/
MIT License
17 stars 8 forks source link

Avoid empty rectangles on ground floor #6

Closed mathiasbynens closed 8 years ago

mathiasbynens commented 8 years ago

See https://github.com/tibiamaps/tibia-map-data/commit/d1b3dc633dd798e9a0bd298a2b2fe89fe8db79ca.

const noPathBuffer = new Buffer(
    Array.from({ 'length': 0x10000 }, () => colors.unexploredPathByte)
);