Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!clyde!burl!codas!cuae2!djmolny From: djmolny@cuae2.ATT.COM (DJ Molny) Newsgroups: net.sources.games Subject: Yet Another ATC Fix (Affects Everyone) Message-ID: <7254@cuae2.ATT.COM> Date: Mon, 12-Jan-87 17:40:27 EST Article-I.D.: cuae2.7254 Posted: Mon Jan 12 17:40:27 1987 Date-Received: Tue, 13-Jan-87 06:37:41 EST Sender: usenet@cuae2.ATT.COM Organization: AT&T - /app/eng, Lisle, IL Lines: 24 Keywords: sorting bug Just when you thought it was safe to play ATC... I found a bug in the linked list handling supplied by Mark VandeWettering, which sometimes causes a plane waiting for departure to "crash on the ground". The fix is a one-line addition to list.c as follows: line: 48 l->tail->next = p; 49 p->next = NULL; /* this line is new! */ 50 p->prev = l->tail; 51 l->tail = p; Given the number of fixes and enhancements that have come down the pike lately, someone should probably re-post the whole mess in about 2 weeks. Since Ed James wrote the game, I will give him first dibs at maintaining the source. -- Regards, DJ Molny, N9609U ihnp4!cuae2!djmolny