equal
deleted
inserted
replaced
48 |
48 |
49 _map3_lo[tile] = tree; // set type of tree |
49 _map3_lo[tile] = tree; // set type of tree |
50 _map3_hi[tile] = 0; // no hedge |
50 _map3_hi[tile] = 0; // no hedge |
51 |
51 |
52 // above snowline? |
52 // above snowline? |
53 if( (_opt.landscape == LT_HILLY) && (GetTileZ(tile) - _opt.snow_line > 0) ) |
53 if (_opt.landscape == LT_HILLY && GetTileZ(tile) > _opt.snow_line) { |
54 { |
|
55 _map2[tile] = 0xE0; // set land type to snow |
54 _map2[tile] = 0xE0; // set land type to snow |
56 _map2[tile] |= (byte)(r >> 24)&0x07; // randomize counter |
55 _map2[tile] |= (byte)(r >> 24)&0x07; // randomize counter |
57 } |
56 } |
58 else |
57 else |
59 { |
58 { |