| 405 | } |
| 406 | |
| 407 | void AddL3Objs(int x1, int y1, int x2, int y2) |
| 408 | { |
| 409 | int i, j, pn; |
| 410 | |
| 411 | for (j = y1; j < y2; j++) { |
| 412 | for (i = x1; i < x2; i++) { |
| 413 | pn = dPiece[i][j]; |
| 414 | if (pn == 531) |
| 415 | AddObject(OBJ_L3LDOOR, i, j); |
| 416 | if (pn == 534) |
| 417 | AddObject(OBJ_L3RDOOR, i, j); |
| 418 | } |
| 419 | } |
| 420 | } |
| 421 | |
| 422 | BOOL WallTrapLocOk(int xp, int yp) |
| 423 | { |
no test coverage detected