> > for (k=combat_list;k;k=k->next_fighting){ > Now bob is no longer in the list, which sets bo->next_fighting = NULL; so, > when k = k->next fighting, k will = NULL, and the loop will end as !k is > true. > Did that make any sense at all? yes, you are correct... and I didn't think about that.
This archive was generated by hypermail 2b30 : 12/18/00 PST