|
|
|
|
@ -4031,15 +4031,13 @@ void OperateObject(int pnum, int i, BOOL TeleFlag)
|
|
|
|
|
|
|
|
|
|
void SyncOpL1Door(int pnum, int cmd, int i) |
|
|
|
|
{ |
|
|
|
|
BOOL do_sync; |
|
|
|
|
DIABOOL do_sync; |
|
|
|
|
|
|
|
|
|
if (pnum == myplr) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
do_sync = FALSE; |
|
|
|
|
if (cmd == CMD_OPENDOOR) { |
|
|
|
|
if (object[i]._oVar4 != 0) |
|
|
|
|
return; |
|
|
|
|
if (cmd == CMD_OPENDOOR && object[i]._oVar4 == 0) { |
|
|
|
|
do_sync = TRUE; |
|
|
|
|
} |
|
|
|
|
if (cmd == CMD_CLOSEDOOR && object[i]._oVar4 == 1) |
|
|
|
|
|