mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-17 14:59:57 +01:00
fix beam entities piling up
This commit is contained in:
parent
3b1e7be112
commit
56c68dea0b
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user