| 390 | } |
| 391 | |
| 392 | void AddL2Objs(int x1, int y1, int x2, int y2) |
| 393 | { |
| 394 | int i, j, pn; |
| 395 | |
| 396 | for (j = y1; j < y2; j++) { |
| 397 | for (i = x1; i < x2; i++) { |
| 398 | pn = dPiece[i][j]; |
| 399 | if (pn == 13 || pn == 541) |
| 400 | AddObject(OBJ_L2LDOOR, i, j); |
| 401 | if (pn == 17 || pn == 542) |
| 402 | AddObject(OBJ_L2RDOOR, i, j); |
| 403 | } |
| 404 | } |
| 405 | } |
| 406 | |
| 407 | void AddL3Objs(int x1, int y1, int x2, int y2) |
| 408 | { |
no test coverage detected