fix the build

This commit is contained in:
Garux
2021-11-06 23:10:15 +03:00
parent aa110638d4
commit d75792d9a9
12 changed files with 93 additions and 106 deletions

View File

@@ -372,7 +372,7 @@ static void GrowGroup_r( parseMesh_t *pm, int patchNum, int patchCount, parseMes
pull apart.
*/
void PatchMapDrawSurfs( entity_t *e ){
void PatchMapDrawSurfs( entity_t& e ){
int i, j, k, l, c1, c2;
parseMesh_t *pm;
parseMesh_t *check, *scan;
@@ -390,7 +390,7 @@ void PatchMapDrawSurfs( entity_t *e ){
Sys_FPrintf( SYS_VRB, "--- PatchMapDrawSurfs ---\n" );
patchCount = 0;
for ( pm = e->patches; pm; pm = pm->next ) {
for ( pm = e.patches; pm; pm = pm->next ) {
meshes[patchCount] = pm;
patchCount++;
}