equal
deleted
inserted
replaced
749 j = ((r >> 16) & 0xF) + 5; |
749 j = ((r >> 16) & 0xF) + 5; |
750 for(;;) { |
750 for(;;) { |
751 _map5[tile] = (byte)((_map5[tile] & ~(3<<2)) | (2<<2)); |
751 _map5[tile] = (byte)((_map5[tile] & ~(3<<2)) | (2<<2)); |
752 do { |
752 do { |
753 if (--j == 0) goto get_out; |
753 if (--j == 0) goto get_out; |
754 tile_new = tile + _tileoffs_by_dir[Random() & 3]; |
754 tile_new = tile + TileOffsByDir(Random() & 3); |
755 } while (!IS_TILETYPE(tile_new, MP_CLEAR)); |
755 } while (!IS_TILETYPE(tile_new, MP_CLEAR)); |
756 tile = tile_new; |
756 tile = tile_new; |
757 } |
757 } |
758 get_out:; |
758 get_out:; |
759 } |
759 } |