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
|
|
@ -511,7 +511,7 @@ void _detach(struct linked_list **list, struct linked_list *i
|
|||
void _free_list(struct linked_list **ptr);
|
||||
char * _new(size_t size);
|
||||
int add_dam(str_t *str);
|
||||
void add_haste(int potion);
|
||||
bool add_haste(int potion);
|
||||
void add_pack(struct linked_list *item, int silent);
|
||||
void add_pass(void);
|
||||
void addmsg(char *fmt, ...);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue