Fix NPE bug

This commit is contained in:
vshcherb 2013-10-26 14:32:25 +02:00
parent 618a0c413f
commit 79c9ca6281

View file

@ -127,6 +127,7 @@ public class MapTileLayer extends BaseMapLayer {
} }
public void drawTileMap(Canvas canvas, RotatedTileBox tileBox) { public void drawTileMap(Canvas canvas, RotatedTileBox tileBox) {
ITileSource map = this.map;
if(map == null){ if(map == null){
return; return;
} }