diff --git a/ref/gl/gl_sprite.c b/ref/gl/gl_sprite.c index a740b54c..8997f3f7 100644 --- a/ref/gl/gl_sprite.c +++ b/ref/gl/gl_sprite.c @@ -203,6 +203,7 @@ void Mod_LoadSpriteModel( model_t *mod, const void *buffer, qboolean *loaded, ui for( i = 0; i < mod->numframes; i++ ) { frametype_t frametype; + dframetype_t dframetype; memcpy( &dframetype, pframetype, sizeof( dframetype )); frametype = dframetype.type; diff --git a/ref/soft/r_sprite.c b/ref/soft/r_sprite.c index b6c95bd1..b424f98e 100644 --- a/ref/soft/r_sprite.c +++ b/ref/soft/r_sprite.c @@ -202,6 +202,7 @@ void Mod_LoadSpriteModel( model_t *mod, const void *buffer, qboolean *loaded, ui for( i = 0; i < mod->numframes; i++ ) { frametype_t frametype; + dframetype_t dframetype; memcpy( &dframetype, pframetype, sizeof( dframetype )); frametype = dframetype.type;