equal
deleted
inserted
replaced
907 AddNewsItem(STR_B005_COAL_MINE_SUBSIDENCE_LEAVES, |
907 AddNewsItem(STR_B005_COAL_MINE_SUBSIDENCE_LEAVES, |
908 NEWS_FLAGS(NM_THIN,NF_VIEWPORT|NF_TILE,NT_ACCIDENT,0), i->xy + TILE_XY(1,1), 0); |
908 NEWS_FLAGS(NM_THIN,NF_VIEWPORT|NF_TILE,NT_ACCIDENT,0), i->xy + TILE_XY(1,1), 0); |
909 |
909 |
910 { |
910 { |
911 uint tile = i->xy; |
911 uint tile = i->xy; |
912 int step = TileOffsByDir(Random() & 3); |
912 TileIndexDiff step = TileOffsByDir(Random() & 3); |
913 int count = 30; |
913 int count = 30; |
914 do { |
914 do { |
915 DisasterClearSquare(tile); |
915 DisasterClearSquare(tile); |
916 tile = TILE_MASK(tile + step); |
916 tile = TILE_MASK(tile + step); |
917 } while (--count); |
917 } while (--count); |