| 2328 | } |
| 2329 | |
| 2330 | void ObjChangeMapResync(int x1, int y1, int x2, int y2) |
| 2331 | { |
| 2332 | int i, j; |
| 2333 | |
| 2334 | for (j = y1; j <= y2; j++) { |
| 2335 | for (i = x1; i <= x2; i++) { |
| 2336 | ObjSetMini(i, j, pdungeon[i][j]); |
| 2337 | dungeon[i][j] = pdungeon[i][j]; |
| 2338 | } |
| 2339 | } |
| 2340 | if (leveltype == DTYPE_CATHEDRAL) { |
| 2341 | ObjL1Special(2 * x1 + 16, 2 * y1 + 16, 2 * x2 + 17, 2 * y2 + 17); |
| 2342 | } |
| 2343 | if (leveltype == DTYPE_CATACOMBS) { |
| 2344 | ObjL2Special(2 * x1 + 16, 2 * y1 + 16, 2 * x2 + 17, 2 * y2 + 17); |
| 2345 | } |
| 2346 | } |
| 2347 | |
| 2348 | void OperateL1Door(int pnum, int i, BOOL sendflag) |
| 2349 | { |
no test coverage detected