]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_refrag.c
added back r_speeds2, with masses of information (6 lines high), and made it print...
[xonotic/darkplaces.git] / gl_refrag.c
index 1a85e7c6e5565abfdc1d7d2dc33a0bf182d5a782..224899f84f046821315e3ffe32728f34aea035ed 100644 (file)
@@ -229,20 +229,17 @@ void R_StoreEfrags (efrag_t **ppefrag)
                case mod_sprite:
                        pent = pefrag->entity;
 
-                       if ((pent->visframe != r_framecount) &&
-                               (cl_numvisedicts < MAX_VISEDICTS))
+                       if ((pent->visframe != r_framecount) && (cl_numvisedicts < MAX_VISEDICTS))
                        {
                                cl_visedicts[cl_numvisedicts++] = pent;
-
-                       // mark that we've recorded this entity for this frame
-                               pent->visframe = r_framecount;
+                               pent->visframe = r_framecount; // render each entity only once per frame
                        }
 
                        ppefrag = &pefrag->leafnext;
                        break;
 
                default:        
-                       Sys_Error ("R_StoreEfrags: Bad entity type %d\n", clmodel->type);
+                       Host_Error ("R_StoreEfrags: Bad entity type %d\n", clmodel->type);
                }
        }
 }