diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-03 12:41:47 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-03 12:42:33 +0100 |
commit | e1b3347da56110563324b7b1afb0c38a9d172732 (patch) | |
tree | 38d079a599e2fb352ab0eda5fefe12585f015b60 /viewer | |
parent | b3c1a9be2f0c3011ae1249573d04a8bdc72f1e8f (diff) | |
download | MinedMap-e1b3347da56110563324b7b1afb0c38a9d172732.tar MinedMap-e1b3347da56110563324b7b1afb0c38a9d172732.zip |
Start mipmapping infrastructure
Diffstat (limited to 'viewer')
-rw-r--r-- | viewer/MinedMap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/MinedMap.js b/viewer/MinedMap.js index 959e3ed..464bd22 100644 --- a/viewer/MinedMap.js +++ b/viewer/MinedMap.js @@ -21,7 +21,7 @@ var MinedMapLayer = L.GridLayer.extend({ if (coords.x >= this._info.minX && coords.x <= this._info.maxX && coords.y >= this._info.minZ && coords.y <= this._info.maxZ && this._regions[coords.y-this._info.minZ][coords.x-this._info.minX]) - tile.src = 'data/r.'+coords.x+'.'+coords.y+'.png'; + tile.src = 'data/0/r.'+coords.x+'.'+coords.y+'.png'; return tile; }, |