srogue: prevent aquiring unlimited scrolls of aquirement.

This commit is contained in:
John "Elwin" Edwards 2010-12-07 22:31:33 +00:00
parent 1d8ea533bd
commit 61fb648a88

View file

@ -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 */