> > void list_obj_to_char2(struct obj_data * list, struct char_data * ch, int > mode, > int show) > { > struct obj_data * object; > struct obj_data *i; > bool found; > > found = FALSE; > > //*buf = '\0'; > log("strcpying You see"); > strcpy(buf, " You see "); > log("Calling for statement"); > for (i = list; i; i = i->next_content) { > if (CAN_SEE_OBJ(ch, i)) { > log("Checking to see if buf is still You see"); > if (buf != " You see ") { > log("strcating , object->shortdesc"); > strcat(buf, ", "); > strcat(buf, object->short_description); <--- The object pointer is never assigned a value. Shouldn't it be i->short_description instead? /Johan +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST