diff --git a/source/core/interpolate.cpp b/source/core/interpolate.cpp index 564e677d4..cce0762a3 100644 --- a/source/core/interpolate.cpp +++ b/source/core/interpolate.cpp @@ -55,7 +55,7 @@ double Get(int index, DCoreActor* actor, int type) case Interp_Wall_PanX: return wall[index].xpan_; case Interp_Wall_PanY: return wall[index].ypan_; - case Interp_Sprite_Z: return actor ? actor->spr.pos.Z : 0; + case Interp_Sprite_Z: return !actor? 0 : actor->spr.pos.Z; default: return 0; } } diff --git a/source/games/blood/src/messages.cpp b/source/games/blood/src/messages.cpp index 5fda4588b..525461b6b 100644 --- a/source/games/blood/src/messages.cpp +++ b/source/games/blood/src/messages.cpp @@ -482,6 +482,7 @@ static cheatseq_t s_CheatInfo[] = { {"SPORK", nullptr, SendGenericCheat, 0, kCheatSpork }, // SPORK (200% health (same effect as getting life seed)) {"ONERING", nullptr, SendGenericCheat, 0, kCheatOneRing }, // ONERING (Cloak of invisibility power-up) {"MARIO###", nullptr, cheatMario }, // MARIO (Warp to level E M, e.g.: MARIO 1 3 will take you to Phantom Express) + {"MARIO ###", nullptr, cheatMario }, // MARIO (Warp to level E M, e.g.: MARIO 1 3 will take you to Phantom Express) {"CALGON", nullptr, cheatCalgon }, // CALGON (Jumps to next level) {"KEVORKIAN", nullptr, SendGenericCheat, 0, kCheatKevorkian }, // KEVORKIAN (Does a lot of physical damage to you (if you have 200HP and 200 fire armor then you can survive). Displays the message "KEVORKIAN APPROVES".) {"MCGEE", nullptr, SendGenericCheat, 0, kCheatMcGee }, // MCGEE (Sets you on fire. Displays the message "YOU'RE FIRED".)