GOLDOBJ pickup handling (trunk only)
For GOLDOBJ configuration, relax the 52 object limit for inventory
when gold uses the special $ slot instead of a letter. Takes care of an
old buglist entry from the beta testers. [It will need to be revisited
if we ever implement multiple coin types that can't all fit in one slot.]
Also for GOLDOBJ, prevents nymphs and monkeys from stealing coins,
since allowing that made their steal-item attack be a complete superset
of leprechaun's steal-gold attack.
This commit is contained in:
@@ -3160,7 +3160,7 @@ STATIC_OVL boolean
|
||||
emergency_disrobe(lostsome)
|
||||
boolean *lostsome;
|
||||
{
|
||||
int invc = inv_cnt();
|
||||
int invc = inv_cnt(TRUE);
|
||||
|
||||
while (near_capacity() > (Punished ? UNENCUMBERED : SLT_ENCUMBER)) {
|
||||
register struct obj *obj, *otmp = (struct obj *)0;
|
||||
|
||||
Reference in New Issue
Block a user