| 4136 | } |
| 4137 | |
| 4138 | void SyncL1Doors(int i) |
| 4139 | { |
| 4140 | int x, y; |
| 4141 | |
| 4142 | if (object[i]._oVar4 == 0) { |
| 4143 | object[i]._oMissFlag = FALSE; |
| 4144 | return; |
| 4145 | } |
| 4146 | |
| 4147 | x = object[i]._ox; |
| 4148 | y = object[i]._oy; |
| 4149 | object[i]._oMissFlag = TRUE; |
| 4150 | object[i]._oSelFlag = 2; |
| 4151 | if (object[i]._otype == OBJ_L1LDOOR) { |
| 4152 | if (object[i]._oVar1 == 214) |
| 4153 | ObjSetMicro(x, y, 408); |
| 4154 | else |
| 4155 | ObjSetMicro(x, y, 393); |
| 4156 | dArch[x][y] = 7; |
| 4157 | objects_set_door_piece(x - 1, y); |
| 4158 | y--; |
| 4159 | } else { |
| 4160 | ObjSetMicro(x, y, 395); |
| 4161 | dArch[x][y] = 8; |
| 4162 | objects_set_door_piece(x, y - 1); |
| 4163 | x--; |
| 4164 | } |
| 4165 | DoorSet(i, x, y); |
| 4166 | } |
| 4167 | |
| 4168 | void SyncCrux(int i) |
| 4169 | { |
no test coverage detected