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