From 78cc81749db64cf7d0bc38c4e4f83d9c854b82ce Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 25 Feb 2000 09:17:59 +0000 Subject: [PATCH] There was a discrepancy in the definitions of MAX_MOD_KNOWN. gl_model.c had it as 512, but qw_server/model.c and common/model.c had it as 256. That wasn't the real problem, what it was was hipnotic (obviously) has more than 256 models in "Research Facility", and so uquake-svga bobmed --- common/model.c | 2 +- qw_server/model.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/model.c b/common/model.c index 162fb2a..b6fb2a5 100644 --- a/common/model.c +++ b/common/model.c @@ -45,7 +45,7 @@ model_t *Mod_LoadModel (model_t *mod, qboolean crash); byte mod_novis[MAX_MAP_LEAFS/8]; -#define MAX_MOD_KNOWN 256 +#define MAX_MOD_KNOWN 512 model_t mod_known[MAX_MOD_KNOWN]; int mod_numknown; diff --git a/qw_server/model.c b/qw_server/model.c index fbb0f2e..7621dab 100644 --- a/qw_server/model.c +++ b/qw_server/model.c @@ -46,7 +46,7 @@ model_t *Mod_LoadModel (model_t *mod, qboolean crash); byte mod_novis[MAX_MAP_LEAFS/8]; -#define MAX_MOD_KNOWN 256 +#define MAX_MOD_KNOWN 512 model_t mod_known[MAX_MOD_KNOWN]; int mod_numknown;