Fix extra colormap crash on Virtual Highway (closes #188)

This commit is contained in:
GenericHeroGuy 2025-12-03 21:41:10 +01:00
parent 0b60831189
commit 55106624fb
2 changed files with 3 additions and 2 deletions

View file

@ -94,7 +94,7 @@
#define ASSET_HASH_TEXTURES_KART 0xb4211b2f32b6a291
#define ASSET_HASH_CHARS_KART 0x1e68a3e01aa5c68b
#define ASSET_HASH_MAPS_KART 0x38558ed00da41ce9
#define ASSET_HASH_MAIN_PK3 0x6f29fc26ffc8ee60
#define ASSET_HASH_MAIN_PK3 0x2bc4973ae1beb107
#define ASSET_HASH_MAPPATCH_PK3 0x0afd8afc6fc50175
#define ASSET_HASH_BONUSCHARS_KART 0x60e6f13d822a7461
#ifdef USE_PATCH_FILE

View file

@ -1308,7 +1308,8 @@ static void DiffSectors(const sector_t *ss, const sector_t *spawnss, UINT8 diff[
SETB(SD_TAG);
//DIFFNE(ss, ..., SD__UNUSED);
DIFFNE(ss, extra_colormap, SD_COLORMAP);
if (ss->extra_colormap != ss->spawn_extra_colormap)
SETB(SD_COLORMAP);
DIFFIF(ss, crumblestate, SD_CRUMBLESTATE);
if (ss->floorlightlevel != spawnss->floorlightlevel || ss->floorlightabsolute != spawnss->floorlightabsolute)
SETB(SD_FLOORLIGHT);