Don't lie about the number of models.

The renderer being told there were 2048 models when there were only ~160
was a bit of an unpleasant surprise :P
This commit is contained in:
Bill Currie 2012-01-09 16:22:39 +09:00
parent 12fd6bd390
commit ffa79eed01
5 changed files with 43 additions and 39 deletions

View file

@ -276,6 +276,8 @@ typedef struct
struct model_s *model_precache[MAX_MODELS];
struct sfx_s *sound_precache[MAX_SOUNDS];
int nummodels;
int numsounds;
struct plitem_s *edicts;
struct plitem_s *worldspawn;