[Diablo] 🐛 Rest dSpecial when closing L1 doors
Fixes #1275 This bug is only visible with the improved transparancy. But would have been a slight performance hit originally.
This commit is contained in:
parent
0e978f8822
commit
3945e79426
1 changed files with 3 additions and 2 deletions
|
|
@ -2456,6 +2456,7 @@ void OperateL1RDoor(int pnum, int oi, bool sendflag)
|
|||
ObjSetMicro(xp - 1, yp, 86);
|
||||
}
|
||||
}
|
||||
dSpecial[xp][yp] = 0;
|
||||
object[oi]._oAnimFrame -= 2;
|
||||
object[oi]._oPreFlag = FALSE;
|
||||
RedoPlayerVision();
|
||||
|
|
@ -2538,6 +2539,7 @@ void OperateL1LDoor(int pnum, int oi, bool sendflag)
|
|||
ObjSetMicro(xp, yp - 1, 86);
|
||||
}
|
||||
}
|
||||
dSpecial[xp][yp] = 0;
|
||||
object[oi]._oAnimFrame -= 2;
|
||||
object[oi]._oPreFlag = FALSE;
|
||||
RedoPlayerVision();
|
||||
|
|
@ -4872,8 +4874,7 @@ void SyncL1Doors(int i)
|
|||
y--;
|
||||
} else {
|
||||
ObjSetMicro(x, y, 395);
|
||||
if (currlevel < 17)
|
||||
dSpecial[x][y] = 8;
|
||||
dSpecial[x][y] = 8;
|
||||
objects_set_door_piece(x, y - 1);
|
||||
x--;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue