- reinstated deleted saveable_code entries with dummy pointers.

This is to preserve savegame compatibility for now.
Later the code pointer saving needs a thorough cleanup.
This commit is contained in:
Christoph Oelckers 2021-10-29 09:16:07 +02:00
parent e241e7dc52
commit 8bad95c7c6
3 changed files with 6 additions and 0 deletions

View file

@ -2502,6 +2502,8 @@ SpawnPlayerUnderSprite(PLAYERp pp)
static saveable_code saveable_ninja_code[] = static saveable_code saveable_ninja_code[] =
{ {
SAVE_CODE(SetupNinja),
SAVE_CODE(SetupNinja),
SAVE_CODE(DoNinjaHariKari), SAVE_CODE(DoNinjaHariKari),
SAVE_CODE(DoNinjaGrabThroat), SAVE_CODE(DoNinjaGrabThroat),
SAVE_CODE(DoNinjaMove), SAVE_CODE(DoNinjaMove),

View file

@ -7389,6 +7389,8 @@ static saveable_code saveable_sprite_code[] =
SAVE_CODE(DoActorGlobZ), SAVE_CODE(DoActorGlobZ),
SAVE_CODE(DoStayOnFloor), SAVE_CODE(DoStayOnFloor),
SAVE_CODE(DoGrating), SAVE_CODE(DoGrating),
SAVE_CODE(move_ground_missile), // dead entries, kept for savegame compatibility.
SAVE_CODE(move_ground_missile),
SAVE_CODE(DoKey), SAVE_CODE(DoKey),
SAVE_CODE(DoCoin), SAVE_CODE(DoCoin),
SAVE_CODE(KillGet), SAVE_CODE(KillGet),

View file

@ -21614,6 +21614,7 @@ static saveable_code saveable_weapon_code[] =
SAVE_CODE(MissileHitMatch), SAVE_CODE(MissileHitMatch),
SAVE_CODE(SpawnShrapX), SAVE_CODE(SpawnShrapX),
SAVE_CODE(DoLavaErupt), SAVE_CODE(DoLavaErupt),
SAVE_CODE(QueueLoWangs), // dead entry, for savegame compatibility.
SAVE_CODE(SpawnShrap), SAVE_CODE(SpawnShrap),
SAVE_CODE(DoShrapMove), SAVE_CODE(DoShrapMove),
SAVE_CODE(DoVomit), SAVE_CODE(DoVomit),
@ -21714,6 +21715,7 @@ static saveable_code saveable_weapon_code[] =
SAVE_CODE(SpawnGrenadeSmallExp), SAVE_CODE(SpawnGrenadeSmallExp),
SAVE_CODE(SpawnGrenadeExp), SAVE_CODE(SpawnGrenadeExp),
SAVE_CODE(SpawnMineExp), SAVE_CODE(SpawnMineExp),
SAVE_CODE(QueueLoWangs), // dead entry, for savegame compatibility.
SAVE_CODE(DoSectorExp), SAVE_CODE(DoSectorExp),
SAVE_CODE(SpawnSectorExp), SAVE_CODE(SpawnSectorExp),
SAVE_CODE(SpawnLargeExp), SAVE_CODE(SpawnLargeExp),