diff --git a/engine/client/wad.c b/engine/client/wad.c index 3bf38ddd8..32d176b66 100644 --- a/engine/client/wad.c +++ b/engine/client/wad.c @@ -484,7 +484,12 @@ void Mod_ParseInfoFromEntityLump(char *data) //actually, this should be in the m return; #endif - skyname[0] = '\0'; + // this hack is necessary to ensure Quake 2 maps get their + // default skybox + if (loadmodel->fromgame == fg_quake2) + strcpy(skyname, "unit1_"); + else + skyname[0] = '\0'; if (data) if ((data=COM_Parse(data))) //read the map info.