Remove PlayerStruct.actionFrame and enable ADL for Walking/Run (#1939)
- Remove (unused) actionFrame for PM_DEATH - Remove actionFrame for PM_SPELL - Remove actionFrame for PM_WALK - Remove actionFrame
This commit is contained in:
parent
ecd2e682bc
commit
7ed009ecb7
6 changed files with 28 additions and 44 deletions
|
|
@ -2237,7 +2237,6 @@ static DWORD On_PLAYER_JOINLEVEL(TCmd *pCmd, int pnum)
|
|||
plr[pnum]._pmode = PM_DEATH;
|
||||
NewPlrAnim(pnum, plr[pnum]._pDAnim[DIR_S], plr[pnum]._pDFrames, 1, plr[pnum]._pDWidth);
|
||||
plr[pnum].AnimInfo.CurrentFrame = plr[pnum].AnimInfo.NumberOfFrames - 1;
|
||||
plr[pnum].actionFrame = plr[pnum].AnimInfo.NumberOfFrames * 2;
|
||||
dFlags[plr[pnum].position.tile.x][plr[pnum].position.tile.y] |= BFLAG_DEAD_PLAYER;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue