summaryrefslogtreecommitdiff
path: root/smallmap_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'smallmap_gui.c')
-rw-r--r--smallmap_gui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/smallmap_gui.c b/smallmap_gui.c
index 0b3463c73..f1e7e547e 100644
--- a/smallmap_gui.c
+++ b/smallmap_gui.c
@@ -10,6 +10,7 @@
#include "map.h"
#include "tile.h"
#include "gui.h"
+#include "tree.h"
#include "window.h"
#include "gfx.h"
#include "viewport.h"
@@ -489,7 +490,7 @@ static inline uint32 GetSmallMapVegetationPixels(TileIndex tile)
break;
case MP_TREES:
- if ((_m[tile].m2 & 0x30) == 0x20) {
+ if (GetTreeGround(tile) == TR_SNOW_DESERT) {
bits = (_opt.landscape == LT_HILLY) ? MKCOLOR(0x98575798) : MKCOLOR(0xC25757C2);
} else {
bits = MKCOLOR(0x54575754);