summaryrefslogtreecommitdiffstats
path: root/viewer
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-02-03 12:41:47 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-02-03 12:42:33 +0100
commite1b3347da56110563324b7b1afb0c38a9d172732 (patch)
tree38d079a599e2fb352ab0eda5fefe12585f015b60 /viewer
parentb3c1a9be2f0c3011ae1249573d04a8bdc72f1e8f (diff)
downloadMinedMap-e1b3347da56110563324b7b1afb0c38a9d172732.tar
MinedMap-e1b3347da56110563324b7b1afb0c38a9d172732.zip
Start mipmapping infrastructure
Diffstat (limited to 'viewer')
-rw-r--r--viewer/MinedMap.js2
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;
},