fix beam entities piling up

This commit is contained in:
Ivan Avdeev 2021-02-17 13:48:41 -08:00
parent 3b1e7be112
commit 56c68dea0b

View File

@ -175,7 +175,7 @@ void R_ProcessEntData( qboolean allocate )
{
g_lists.draw_list->num_solid_entities = 0;
g_lists.draw_list->num_trans_entities = 0;
/* g_lists.draw_list->num_beam_entities = 0; */
g_lists.draw_list->num_beam_entities = 0;
}
if( gEngine.drawFuncs->R_ProcessEntData )
@ -186,7 +186,7 @@ void R_ClearScreen( void )
{
g_lists.draw_list->num_solid_entities = 0;
g_lists.draw_list->num_trans_entities = 0;
/* g_lists.draw_list->num_beam_entities = 0; */
g_lists.draw_list->num_beam_entities = 0;
// clear the scene befor start new frame
if( gEngine.drawFuncs->R_ClearScene != NULL )
@ -213,7 +213,7 @@ void R_ClearScene( void )
{
g_lists.draw_list->num_solid_entities = 0;
g_lists.draw_list->num_trans_entities = 0;
/* g_lists.draw_list->num_beam_entities = 0; */
g_lists.draw_list->num_beam_entities = 0;
}