changeset 2981 | 31760b6a88aa |
parent 2966 | 7f382cfeb93d |
child 2984 | 225bffc79071 |
--- a/smallmap_gui.c Sun Feb 05 14:18:28 2006 +0000 +++ b/smallmap_gui.c Sun Feb 05 14:47:15 2006 +0000 @@ -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 @@ 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);