> for (k = combat_list; k; k = temp) > { > temp = k->next_fighting; > if (FIGHTING(k) == ch) > stop_fighting(k); > } also, you can just do: for (k=combat_list;k;k=k->next_fighting){ if (FIGHTING(k)==vict) stop_fighting(k); } Taran. Reign of Towers
This archive was generated by hypermail 2b30 : 12/18/00 PST