Skip to content

Commit

Permalink
ck5_misc: Properly mark MAPKEEN for caching
Browse files Browse the repository at this point in the history
The world-map version of Keen's sprite wasn't being cached in Keen 5,
as we accidentally cached the in-level Keen sprite instead. Mark the correct
lump, and all is well.
  • Loading branch information
sulix committed Sep 26, 2024
1 parent 050892b commit 4b1bca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ck5_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ void CK5_ScanInfoLayer()
case 3:
CK_DemoSignSpawn();
CA_MarkGrChunk(CK_CHUNKNUM(SPR_SCOREBOX));
CA_MARKLUMP(LUMP_KEEN);
CA_MARKLUMP(LUMP_MAPKEEN);
if (ck_gameState.levelState != LS_TeleportToKorath)
CK_SpawnMapKeen(x, y);
break;
Expand Down

0 comments on commit 4b1bca7

Please sign in to comment.