#define MAX_DEMONAME 16 ///< max demo name length for demos command
#define MAX_SAVEGAMES 12 ///< max savegames listed in savegame menu
#define SAVEGAME_COMMENT_LENGTH 39 ///< max comment length of savegame in menu
-#define MAX_CLIENTNETWORKEYES 8 ///< max number of locations that can be added to pvs when culling network entities (must be at least 2 for prediction)
-#define MAX_LEVELNETWORKEYES 64 ///< max number of locations that can be added to pvs when culling network entities (must be at least 2 for prediction)
+#define MAX_CLIENTNETWORKEYES 16 ///< max number of locations that can be added to pvs when culling network entities (must be at least 2 for prediction)
+#define MAX_LEVELNETWORKEYES 512 ///< max number of locations that can be added to pvs when culling network entities (must be at least 2 for prediction)
#define MAX_OCCLUSION_QUERIES 4096 ///< max number of GL_ARB_occlusion_query objects that can be used in one frame
#define MAX_WATERPLANES 16 ///< max number of water planes visible (each one causes additional view renders)
{
int e, i, j, k;
prvm_edict_t *ed;
- int cameras[MAX_LEVELNETWORKEYES];
- vec3_t camera_origins[MAX_LEVELNETWORKEYES];
- int eye_levels[MAX_CLIENTNETWORKEYES];
+ static int cameras[MAX_LEVELNETWORKEYES];
+ static vec3_t camera_origins[MAX_LEVELNETWORKEYES];
+ static int eye_levels[MAX_CLIENTNETWORKEYES];
int n_cameras = 0;
vec3_t mi, ma;
prvm_eval_t *valendpos, *val;