|
|
|
@ -1822,7 +1822,10 @@ R_NewMap
@@ -1822,7 +1822,10 @@ R_NewMap
|
|
|
|
|
*/ |
|
|
|
|
void R_NewMap (void) |
|
|
|
|
{ |
|
|
|
|
int i; |
|
|
|
|
r_viewcluster = -1; |
|
|
|
|
R_ClearDecals(); // clear all level decals
|
|
|
|
|
R_StudioResetPlayerModels(); |
|
|
|
|
|
|
|
|
|
D_FlushCaches( true ); |
|
|
|
|
|
|
|
|
@ -1860,6 +1863,10 @@ void R_NewMap (void)
@@ -1860,6 +1863,10 @@ void R_NewMap (void)
|
|
|
|
|
{ |
|
|
|
|
auxedges = malloc (r_numallocatededges * sizeof(edge_t)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// clear out efrags in case the level hasn't been reloaded
|
|
|
|
|
for( i = 0; i < WORLDMODEL->numleafs; i++ ) |
|
|
|
|
WORLDMODEL->leafs[i+1].efrags = NULL; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|