| 2308 | } |
| 2309 | |
| 2310 | void ObjChangeMap(int x1, int y1, int x2, int y2) |
| 2311 | { |
| 2312 | int i, j; |
| 2313 | |
| 2314 | for (j = y1; j <= y2; j++) { |
| 2315 | for (i = x1; i <= x2; i++) { |
| 2316 | ObjSetMini(i, j, pdungeon[i][j]); |
| 2317 | dungeon[i][j] = pdungeon[i][j]; |
| 2318 | } |
| 2319 | } |
| 2320 | if (leveltype == DTYPE_CATHEDRAL) { |
| 2321 | ObjL1Special(2 * x1 + 16, 2 * y1 + 16, 2 * x2 + 17, 2 * y2 + 17); |
| 2322 | AddL1Objs(2 * x1 + 16, 2 * y1 + 16, 2 * x2 + 17, 2 * y2 + 17); |
| 2323 | } |
| 2324 | if (leveltype == DTYPE_CATACOMBS) { |
| 2325 | ObjL2Special(2 * x1 + 16, 2 * y1 + 16, 2 * x2 + 17, 2 * y2 + 17); |
| 2326 | AddL2Objs(2 * x1 + 16, 2 * y1 + 16, 2 * x2 + 17, 2 * y2 + 17); |
| 2327 | } |
| 2328 | } |
| 2329 | |
| 2330 | void ObjChangeMapResync(int x1, int y1, int x2, int y2) |
| 2331 | { |
no test coverage detected