This commit is contained in:
Paul 2000-12-20 22:46:12 +00:00
parent b56cd688ae
commit a9a9af96f5
8 changed files with 54 additions and 23 deletions

View file

@ -117,7 +117,7 @@ CAnimTex *ThisTex=AnimTexList;
RECT Rect;
int Count,CountComp;
int H,W;
int Time = GameState::getTimeSinceLast();
int Time = GameState::getFramesSinceLast();
while (ThisTex)
{
@ -141,7 +141,7 @@ int Time = GameState::getTimeSinceLast();
Rect.h=CountComp;
LoadImage(&Rect,ThisTex->TexData);
}
ThisTex->Count+=(ThisTex->Speed * Time)>> 12;
ThisTex->Count+=(ThisTex->Speed * Time);
ThisTex->Count%=(ThisTex->Rect.h<<2);
ThisTex=ThisTex->NextTex;
}