Browse Source

[hellfire] SyncOpL1Door bin exact

pull/876/head
qndel 6 years ago committed by Anders Jenbo
parent
commit
cfd65da227
  1. 6
      Source/objects.cpp

6
Source/objects.cpp

@ -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)

Loading…
Cancel
Save