srogue: prevent aquiring unlimited scrolls of aquirement.
This commit is contained in:
parent
1d8ea533bd
commit
61fb648a88
1 changed files with 4 additions and 0 deletions
|
|
@ -231,6 +231,10 @@ bool fscr;
|
|||
else
|
||||
resoflg(obj, ISCURSED);
|
||||
}
|
||||
/* Don't let scrolls of aquirement give multiple scrolls of
|
||||
* aquirement, or you will be able to scum for ANYTHING. */
|
||||
if (!wizard && wh == SCROLL && obj->o_which == S_MAKEIT)
|
||||
obj->o_count = 1;
|
||||
mpos = 0;
|
||||
if (fscr)
|
||||
whatis(item); /* identify for aquirement scroll */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue