From 748eb255cc4034171ebc53489826eb095492a4c1 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Mon, 12 Mar 2012 01:34:19 +0000 Subject: [PATCH] - Fixed: R_ExtendSpriteFrames() neglected to set the new spriteframes value for the sprite. SVN r3430 (trunk) --- src/r_data/sprites.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/r_data/sprites.cpp b/src/r_data/sprites.cpp index 4def26d80..853299228 100644 --- a/src/r_data/sprites.cpp +++ b/src/r_data/sprites.cpp @@ -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; } //==========================================================================