mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
- properly use the correct delay for an ANM's final frame.
This commit is contained in:
parent
29a10cabcb
commit
005f8feceb
2 changed files with 2 additions and 2 deletions
|
@ -160,7 +160,7 @@ public:
|
|||
if (frameTicks)
|
||||
{
|
||||
if (curframe == 1) delay = frameTicks[0];
|
||||
else if (curframe < numframes - 1) delay = frameTicks[1];
|
||||
else if (curframe < numframes - 2) delay = frameTicks[1];
|
||||
else delay = frameTicks[2];
|
||||
}
|
||||
nextframetime += delay;
|
||||
|
|
|
@ -111,7 +111,7 @@ DScreenJob* GetFinishAnim(int num)
|
|||
{ 64, DIGI_SHAREND_UGLY2 },
|
||||
{ -1, -1 }
|
||||
};
|
||||
static const int serpzillaframetimes[] = { 16, 16, 136 };
|
||||
static const int serpzillaframetimes[] = { 16, 16, 140 };
|
||||
|
||||
static const AnimSound sumosound[] =
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue