| 970 | } |
| 971 | |
| 972 | void AddL1Door(int i, int x, int y, int ot) |
| 973 | { |
| 974 | object[i]._oDoorFlag = TRUE; |
| 975 | if (ot == 1) { |
| 976 | object[i]._oVar1 = dPiece[x][y]; |
| 977 | object[i]._oVar2 = dPiece[x][y - 1]; |
| 978 | } else { |
| 979 | object[i]._oVar1 = dPiece[x][y]; |
| 980 | object[i]._oVar2 = dPiece[x - 1][y]; |
| 981 | } |
| 982 | object[i]._oVar4 = 0; |
| 983 | } |
| 984 | |
| 985 | void AddSCambBook(int i) |
| 986 | { |