From 27e89eb63452ccb2c383513b7dd3270b99cd78e3 Mon Sep 17 00:00:00 2001 From: Forest Hale Date: Fri, 30 Jun 2000 06:26:17 +0000 Subject: [PATCH] Fixed Mod_ExtraData crash. (oops) --- source/gl_rmain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/gl_rmain.c b/source/gl_rmain.c index 3b1dd42..07f8e78 100644 --- a/source/gl_rmain.c +++ b/source/gl_rmain.c @@ -694,7 +694,7 @@ void R_DrawEntitiesOnList (void) for (i=0 ; itype != 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); }