From 3668c20fe3b41d8f05b3631e2d8972879b4b8322 Mon Sep 17 00:00:00 2001 From: qndel Date: Sun, 15 Sep 2019 13:47:16 +0200 Subject: [PATCH] NewTownerAnim cleanup --- Source/towners.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/towners.cpp b/Source/towners.cpp index 3e04b429e..469444d4f 100644 --- a/Source/towners.cpp +++ b/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; }