mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-27 21:40:55 +00:00
Fixed Mod_ExtraData crash. (oops)
This commit is contained in:
parent
2028766d1f
commit
27e89eb634
1 changed files with 2 additions and 1 deletions
|
@ -694,7 +694,7 @@ void R_DrawEntitiesOnList (void)
|
||||||
|
|
||||||
for (i=0 ; i<cl_numvisedicts ; i++)
|
for (i=0 ; i<cl_numvisedicts ; i++)
|
||||||
{
|
{
|
||||||
if (cl_visedicts[i].model->type != mod_brush)
|
if (cl_visedicts[i].model->type != mod_alias)
|
||||||
continue;
|
continue;
|
||||||
currententity = &cl_visedicts[i];
|
currententity = &cl_visedicts[i];
|
||||||
modelalpha = currententity->alpha;
|
modelalpha = currententity->alpha;
|
||||||
|
@ -707,6 +707,7 @@ void R_DrawEntitiesOnList (void)
|
||||||
if (cl_visedicts[i].model->type != mod_sprite)
|
if (cl_visedicts[i].model->type != mod_sprite)
|
||||||
continue;
|
continue;
|
||||||
currententity = &cl_visedicts[i];
|
currententity = &cl_visedicts[i];
|
||||||
|
modelalpha = currententity->alpha;
|
||||||
|
|
||||||
R_DrawSpriteModel (currententity);
|
R_DrawSpriteModel (currententity);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue