Keith,

It's often not how you process the data, but the form the data is in.
Assuming any restricted object had a line "Cla 6" (just like
the pfiles) I'd do something like,

bool can_wear_class(CHAR_DATA *ch, OBJ_DATA *obj){
   if (obj->restrictclass != NULL && obj->class != ch->class)
      return FALSE;
   else return TRUE;
   }


   
Sandi                            

                  "I have not yet begun to code!"

[EMAIL PROTECTED]                           blades.inetsolve.com 3333


Reply via email to