ref/r_sprite: move dframetype to inner block

This commit is contained in:
mittorn 2023-12-16 23:17:42 +03:00 committed by Alibek Omarov
parent e53892e827
commit 15798aaf52
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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;