The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: z9999 on November 21, 2008, 08:15:21 PM

Title: r2130 - Airplane stuck when change line
Post by: z9999 on November 21, 2008, 08:15:21 PM
simutrans r2130 GDI

When I change a line of airplane,  airplane keep reserving tiles and stuck.

How to reproduce:
1. Load attached game
2. Open line window and change stop position and close
Title: Re: r2130 - Airplane stuck when change line
Post by: z9999 on November 22, 2008, 10:06:41 AM
Thank you. Reservation problem was solved, but stuck is still happen.
Reloading game doesn't solve stuck. (air_stucked.sve)

Similar stuck happens if one start two airplane from depot.
When they overlapped each other, both of them stuck. (start_and_stuck.sve)
Title: Re: r2130 - Airplane stuck when change line
Post by: prissi on November 22, 2008, 08:36:39 PM
SVN is not working. But changing the following line will solve it.

simvehikel.cc: 3057

if(route_index<takeoff  &&  route_index>1  &&  takeoff<cnv->get_route()->gib_max_n())
Title: [solved]Re: r2130 - Airplane stuck when change line
Post by: z9999 on November 24, 2008, 05:02:57 AM
That is working well. thank you.