mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-19 15:40:58 +00:00
- allow using "Mario" cheat with a space between name and number.
This commit is contained in:
parent
aee4388a03
commit
7915fb7ef1
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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".)
|
||||
|
|
Loading…
Reference in a new issue