The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: HDomos on February 07, 2014, 02:27:43 AM

Title: r7060 Airplanes strange runway reserving
Post by: HDomos on February 07, 2014, 02:27:43 AM
When an airplane lands, it reserves the whole runway until it arrives to its stopping tile.
Title: Re: r7060 Airplanes strange runway reserving
Post by: Ters on February 07, 2014, 05:50:21 AM
I took a look to see if I could observe the same behaviour. When loading the game (which is many months old), a plane was waiting on the runway for a free gate. When a gate became clear, it gave up its runway reservation immediately. The next plane to arrive did so as well, but the third plane did not clear the runway reservation at all. Although I haven't checked, the second plane might already have been underway when the game was loaded, while the third perhaps started after loading.
Title: Re: r7060 Airplanes strange runway reserving
Post by: Alan on February 15, 2014, 09:24:40 AM
After an airplane lands and waits at a stop to be filled, it still does not give up its runway reservation. Other planes are unable to use the runway to land to go to their stops.
Title: Re: r7060-7072 Airplanes strange runway reserving
Post by: Spacethingy on February 19, 2014, 02:49:14 PM
Quote from: Alan on February 15, 2014, 09:24:40 AM
After an airplane lands and waits at a stop to be filled, it still does not give up its runway reservation. Other planes are unable to use the runway to land to go to their stops.

I can confirm this behavior in r7072:
(http://i.imgur.com/kT0D80A.jpg)
Title: Re: r7060 Airplanes strange runway reserving
Post by: Dwachs on February 19, 2014, 07:19:01 PM
Here is a patch. It deletes some lines added in r7043. I do not understand the reason for adding these lines. Imho it just spills aircraft specific hacks into more files :/
Title: Re: r7060 Airplanes strange runway reserving
Post by: prissi on February 24, 2014, 03:40:14 PM
That was one attempt to solve undefined states after a waysearch from a waypoint which failed. Aparently I did not removed them, when I had the save of the full state implemented. Thanks for spotting it.