Browse Source

NewTownerAnim cleanup

pull/256/head
qndel 7 years ago committed by Anders Jenbo
parent
commit
3668c20fe3
  1. 4
      Source/towners.cpp

4
Source/towners.cpp

@ -153,10 +153,10 @@ void SetTownerGPtrs(BYTE *pData, BYTE **pAnim)
void NewTownerAnim(int tnum, BYTE *pAnim, int numFrames, int Delay)
{
towner[tnum]._tAnimCnt = 0;
towner[tnum]._tAnimLen = numFrames;
towner[tnum]._tAnimData = pAnim;
towner[tnum]._tAnimLen = numFrames;
towner[tnum]._tAnimFrame = 1;
towner[tnum]._tAnimCnt = 0;
towner[tnum]._tAnimDelay = Delay;
}

Loading…
Cancel
Save