mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Workaround encore crash in HWR_GetMappedPatch
This commit is contained in:
parent
9147aeaac7
commit
4654bb43bb
1 changed files with 2 additions and 1 deletions
|
|
@ -1082,7 +1082,8 @@ void HWR_GetMappedPatch(patch_t *patch, const UINT8 *colormap)
|
|||
Patch_CreateGL(patch);
|
||||
grPatch = patch->hardware;
|
||||
|
||||
if (colormap == colormaps || colormap == NULL)
|
||||
// Blatant hack for encore colormapping aside...
|
||||
if (colormap == colormaps || colormap == NULL || colormap == COLORMAP_REMAPOFFSET)
|
||||
{
|
||||
// Load the default (green) color in hardware cache
|
||||
HWR_GetPatch(patch);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue