Re: [Code] Problem!

From: Shawn J. Wallace (shawn@gusto.net)
Date: 12/19/96


> 
> for (k=1;k <=13;k++)
> 
> {
> obj=read_obj(newbie_eq[k], REAL);
> obj_to_char(obj, d->character);
> }

Your newbie_eq array is 0-based (that's the C standard).  So what you need 
to do is use:  for (k=0; k<13; k++) 

Shawn

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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