Fix the perpetual haste cheat.
Rogue V3 allowed the player to gain perpetual haste by quaffing a potion of haste while already hasted. This is supposed to remove the haste effect and cause temporary paralysis. Super-Rogue removed haste correctly, but gave confusing messages.
This commit is contained in:
parent
714bad8c3c
commit
c194ec3dc9
6 changed files with 13 additions and 8 deletions
|
|
@ -158,8 +158,8 @@ quaff()
|
|||
p_know[P_XHEAL] = TRUE;
|
||||
sight();
|
||||
when P_HASTE:
|
||||
add_haste(TRUE);
|
||||
msg("You feel yourself moving much faster.");
|
||||
if (add_haste(TRUE))
|
||||
msg("You feel yourself moving much faster.");
|
||||
p_know[P_HASTE] = TRUE;
|
||||
when P_RESTORE:
|
||||
msg("Hey, this tastes great. It make you feel warm all over.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue