revert the hacky 'level 9999' thing - it hid that Niantic reverted the changes

remove the link distance thing - no longer needed
This commit is contained in:
Jon Atkins
2015-06-26 02:24:56 +01:00
parent 40b92235ea
commit 6718e0d777
2 changed files with 6 additions and 4 deletions

View File

@ -230,8 +230,7 @@ window.MapDataRequest.prototype.refresh = function() {
window.runHooks ('mapDataRefreshStart', {bounds: bounds, mapZoom: mapZoom, dataZoom: dataZoom, minPortalLevel: tileParams.level, tileBounds: dataBounds});
//hack: fake the min level to 9999 when the data level doesn't include any portals
this.render.startRenderPass(tileParams.hasPortals?tileParams.level:9999, dataBounds);
this.render.startRenderPass(tileParams.level, dataBounds);
this.render.processGameEntities(artifact.getArtifactEntities(),true);