mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 20:17:58 -04:00
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:
parent
6ffda6c393
commit
1178f50fa3
@ -714,7 +714,7 @@ void AM_LevelInit(void)
|
|||||||
#undef REINDEX
|
#undef REINDEX
|
||||||
for (int shade = 0; shade < NUMSHADES; ++shade)
|
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]];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user