equal
deleted
inserted
replaced
483 } |
483 } |
484 |
484 |
485 TileLoopClearHelper(tile); |
485 TileLoopClearHelper(tile); |
486 |
486 |
487 /* increase counter */ |
487 /* increase counter */ |
488 { |
488 AB(_m[tile].m2, 0, 4, 1); |
489 uint16 m2 = _m[tile].m2; |
489 if (GB(_m[tile].m2, 0, 4) != 0) return; |
490 _m[tile].m2 = m2 = (m2 & 0xF0) | ((m2 + 1) & 0xF); |
|
491 if ((m2 & 0xF) != 0) return; |
|
492 } |
|
493 |
490 |
494 m5 = _m[tile].m5; |
491 m5 = _m[tile].m5; |
495 if (GB(m5, 0, 3) == 3) { |
492 if (GB(m5, 0, 3) == 3) { |
496 /* regular sized tree */ |
493 /* regular sized tree */ |
497 if (_opt.landscape == LT_DESERT && _m[tile].m3 != 0x1B && GetMapExtraBits(tile) == 1) { |
494 if (_opt.landscape == LT_DESERT && _m[tile].m3 != 0x1B && GetMapExtraBits(tile) == 1) { |