-/*
+/* -------------------------------------------------------------------------------
+
Copyright (C) 1999-2007 id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
tempSource[ 0 ] = '\0';
- /* set flares flag */
+ /* set standard game flags */
+ maxSurfaceVerts = game->maxSurfaceVerts;
+ maxSurfaceIndexes = game->maxSurfaceIndexes;
emitFlares = game->emitFlares;
/* process arguments */
}
else if( !strcmp( argv[ i ], "-mv" ) )
{
- maxSurfaceVerts = atoi( argv[ i + 1 ] );
- if( maxSurfaceVerts < 3 )
- maxSurfaceVerts = 3;
+ maxLMSurfaceVerts = atoi( argv[ i + 1 ] );
+ if( maxLMSurfaceVerts < 3 )
+ maxLMSurfaceVerts = 3;
+ if( maxLMSurfaceVerts > maxSurfaceVerts )
+ maxSurfaceVerts = maxLMSurfaceVerts;
i++;
- Sys_Printf( "Maximum per-surface vertex count set to %d\n", maxSurfaceVerts );
+ Sys_Printf( "Maximum lightmapped surface vertex count set to %d\n", maxLMSurfaceVerts );
}
else if( !strcmp( argv[ i ], "-mi" ) )
{