replace fullcolormap with colormaps[0] in anti-aliasing precalculation

Fixes a crash when loading a saved game with the automap open.
This commit is contained in:
Roman Fomin 2022-07-29 23:53:18 +07:00
parent 6ffda6c393
commit 1178f50fa3

View File

@ -714,7 +714,7 @@ void AM_LevelInit(void)
#undef REINDEX
for (int shade = 0; shade < NUMSHADES; ++shade)
{
color_shades[color * NUMSHADES + shade] = fullcolormap[shade_index[shade]];
color_shades[color * NUMSHADES + shade] = colormaps[0][shade_index[shade]];
}
}
}