Fixed Mod_ExtraData crash. (oops)

This commit is contained in:
Forest Hale 2000-06-30 06:26:17 +00:00
parent 2028766d1f
commit 27e89eb634

View file

@ -694,7 +694,7 @@ void R_DrawEntitiesOnList (void)
for (i=0 ; i<cl_numvisedicts ; i++)
{
if (cl_visedicts[i].model->type != mod_brush)
if (cl_visedicts[i].model->type != mod_alias)
continue;
currententity = &cl_visedicts[i];
modelalpha = currententity->alpha;
@ -707,6 +707,7 @@ void R_DrawEntitiesOnList (void)
if (cl_visedicts[i].model->type != mod_sprite)
continue;
currententity = &cl_visedicts[i];
modelalpha = currententity->alpha;
R_DrawSpriteModel (currententity);
}