Improve look of grass beneath other tiles

This commit is contained in:
Andre Schweiger 2015-12-27 17:17:52 +01:00
parent af6141ae35
commit 1db132c669
2 changed files with 2 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -542,6 +542,7 @@ void renderTile(int i, int x, int y) {
renderDotsWithColor(v, x, y, 0, 0xFF8ED38E);
break;
case TILE_TREE:
renderTile(TILE_GRASS, x, y);
render16(x, y, treeTable[checkSurrTiles8(x >> 4, y >> 4, TILE_TREE)],
16, 0);
break;
@ -593,6 +594,7 @@ void renderTile(int i, int x, int y) {
render16(x, y, 48, 0, 0);
break;
case TILE_FLOWER:
renderTile(TILE_GRASS, x, y);
render16(x, y, 64, 0, getData(x >> 4, y >> 4));
break;
case TILE_STAIRS_DOWN: