Browse Source

ref/r_sprite: move dframetype to inner block

master
mittorn 12 months ago committed by Alibek Omarov
parent
commit
15798aaf52
  1. 1
      ref/gl/gl_sprite.c
  2. 1
      ref/soft/r_sprite.c

1
ref/gl/gl_sprite.c

@ -203,6 +203,7 @@ void Mod_LoadSpriteModel( model_t *mod, const void *buffer, qboolean *loaded, ui @@ -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;

1
ref/soft/r_sprite.c

@ -202,6 +202,7 @@ void Mod_LoadSpriteModel( model_t *mod, const void *buffer, qboolean *loaded, ui @@ -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;

Loading…
Cancel
Save