|
|
|
|
@ -1545,8 +1545,7 @@ void StartWalk(int pnum, int xvel, int yvel, int xoff, int yoff, int xadd, int y
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//Start walk animation
|
|
|
|
|
int numSkippedFrames = (currlevel == 0 && sgGameInitInfo.bRunInTown) ? (plr[pnum]._pWFrames / 2) : 0; |
|
|
|
|
NewPlrAnim(pnum, plr[pnum]._pWAnim[EndDir], plr[pnum]._pWFrames, 0, plr[pnum]._pWWidth, AnimationDistributionFlags::None, numSkippedFrames); |
|
|
|
|
NewPlrAnim(pnum, plr[pnum]._pWAnim[EndDir], plr[pnum]._pWFrames, 0, plr[pnum]._pWWidth); |
|
|
|
|
|
|
|
|
|
plr[pnum]._pdir = EndDir; |
|
|
|
|
plr[pnum]._pVar8 = 0; |
|
|
|
|
|