Added a hack that allows maps using fogmap to display properly in the true-color renderer. Unfortunately, this could be implemented better but at least for now it's here.

This commit is contained in:
raa-eruanna 2016-09-29 20:00:00 -04:00
parent 7cbaf80a2a
commit 1560ed07af

View file

@ -1340,6 +1340,7 @@ void G_InitLevelLocals ()
R_SetDefaultColormap (info->FadeTable); R_SetDefaultColormap (info->FadeTable);
if (strnicmp (info->FadeTable, "COLORMAP", 8) != 0) if (strnicmp (info->FadeTable, "COLORMAP", 8) != 0)
{ {
//level.fadeto = 0xff939393; //[SP] Hexen True-color compatibility, just use gray.
level.flags |= LEVEL_HASFADETABLE; level.flags |= LEVEL_HASFADETABLE;
} }
/* /*