- Fixed: R_ExtendSpriteFrames() neglected to set the new spriteframes value for the sprite.

SVN r3430 (trunk)
This commit is contained in:
Randy Heit 2012-03-12 01:34:19 +00:00
parent 162ad601ba
commit 748eb255cc

View file

@ -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;
}
//==========================================================================