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