Dunno if this bug has been found yet but...

From: Hades (tourach@servtech.com)
Date: 05/24/96


I was just having a hell of a time trying to find out why mag_materials
was letting me cast spells using reagents I didnt have.

Well, in the for loop, it's scanning the object list, not the players
inventory.
for(tobj = ch->carrying; tobj; tobj = tobj->next)

should be: tobj = tobj->next_content

Now I've had this code forever, and ity a pl7 copy, so I dunno if it's been
fixed or what, but I thought I'd let ya'll know just in case.

Hades



This archive was generated by hypermail 2b30 : 12/18/00 PST