Skip to content

Commit

Permalink
gl_model.c (Mod_SetExtraFlags): remove bogus !mod->name check.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/quakespasm/code/trunk@1535 af15c1b1-3010-417e-b628-4374ebc0bcbd
  • Loading branch information
sezero authored and Axel Gneiting committed Nov 17, 2017
1 parent 34d59fb commit ea84177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quake/gl_model.c
Original file line number Diff line number Diff line change
Expand Up @@ -2483,7 +2483,7 @@ void Mod_SetExtraFlags (qmodel_t *mod)
{
extern cvar_t r_nolerp_list, r_noshadow_list;

if (!mod || !mod->name || mod->type != mod_alias)
if (!mod || mod->type != mod_alias)
return;

mod->flags &= (0xFF | MF_HOLEY); //only preserve first byte, plus MF_HOLEY
Expand Down

0 comments on commit ea84177

Please sign in to comment.