Parse rotating skys out of various bsps.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1486 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-10-16 03:57:39 +00:00
parent 06b9226d8e
commit 5807b05a56

View file

@ -467,8 +467,8 @@ void Mod_ParseInfoFromEntityLump(char *data) //actually, this should be in the m
extern model_t *loadmodel;
char key[128];
char skyname[64];
float skyrotate;
vec3_t skyaxis;
float skyrotate = 0;
vec3_t skyaxis = {0, 0, 0};
wads[0] = '\0';
@ -477,8 +477,6 @@ void Mod_ParseInfoFromEntityLump(char *data) //actually, this should be in the m
return;
#endif
R_SetSky("", 0, r_origin);
if (data)
if ((data=COM_Parse(data))) //read the map info.
if (com_token[0] == '{')