mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 23:32:04 +00:00
- Fixed: R_ExtendSpriteFrames() neglected to set the new spriteframes value for the sprite.
SVN r3430 (trunk)
This commit is contained in:
parent
162ad601ba
commit
748eb255cc
1 changed files with 1 additions and 0 deletions
|
@ -439,6 +439,7 @@ static void R_ExtendSpriteFrames(spritedef_t &spr, int frame)
|
|||
// Initialize all new frames to 0.
|
||||
memset(&SpriteFrames[newstart], 0, sizeof(spriteframe_t)*(frame - spr.numframes));
|
||||
spr.numframes = frame;
|
||||
spr.spriteframes = newstart;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
Loading…
Reference in a new issue