| 3861 | } |
| 3862 | |
| 3863 | void AddL2Objs(int x1, int y1, int x2, int y2) |
| 3864 | { |
| 3865 | for (int j = y1; j < y2; j++) { |
| 3866 | for (int i = x1; i < x2; i++) { |
| 3867 | int pn = dPiece[i][j]; |
| 3868 | if (pn == 12 || pn == 540) |
| 3869 | AddObject(OBJ_L2LDOOR, { i, j }); |
| 3870 | if (pn == 16 || pn == 541) |
| 3871 | AddObject(OBJ_L2RDOOR, { i, j }); |
| 3872 | } |
| 3873 | } |
| 3874 | } |
| 3875 | |
| 3876 | void AddL3Objs(int x1, int y1, int x2, int y2) |
| 3877 | { |
no test coverage detected