Set the skybox from the map's worldspawn sky field.

This commit is contained in:
Bill Currie 2010-12-10 13:00:42 +09:00
parent 4af6c8c108
commit aad204e80c
3 changed files with 36 additions and 0 deletions

View file

@ -200,6 +200,9 @@ typedef struct
struct model_s *model_precache[MAX_MODELS];
struct sfx_s *sound_precache[MAX_SOUNDS];
struct plitem_s *edicts;
struct plitem_s *worldspawn;
char levelname[40]; // for display on solo scoreboard
int viewentity; // cl_entitites[cl.viewentity] = player
int maxclients;