- Added the A_JumpSet function for what seems to be a fairly common scenario.
It is like A_Jump, except it accepts up to 20 jump targets. The jump probability is still the first parameter and controls whether any jump is taken at all; use 256 if you always want to jump. If a jump is taken, then one of the jump targets will be chosen at random, with each target having an equal chance of being chosen. - Fixed: The unfreeze ccmd was not multiplayer-safe. And I renamed it to thaw, since it has nothing to do with the freeze ccmd. SVN r360 (trunk)
This commit is contained in:
parent
0d5e3cf97e
commit
2efba66558
6 changed files with 46 additions and 2 deletions
|
|
@ -399,6 +399,11 @@ void cht_DoCheat (player_t *player, int cheat)
|
|||
cht_Give (player, "UpgradeAccuracy");
|
||||
msg = "you got the stuff!";
|
||||
break;
|
||||
|
||||
case CHT_CLEARFROZENPROPS:
|
||||
player->cheats &= ~(CF_FROZEN|CF_TOTALLYFROZEN);
|
||||
msg = "Frozen player properties turned off";
|
||||
break;
|
||||
}
|
||||
|
||||
if (!*msg) // [SO] Don't print blank lines!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue