Author Topic: r2130 - Airplane stuck when change line  (Read 2258 times)

0 Members and 1 Guest are viewing this topic.

Offline z9999

r2130 - Airplane stuck when change line
« 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

Offline z9999

Re: r2130 - Airplane stuck when change line
« Reply #1 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)
« Last Edit: November 22, 2008, 10:08:50 AM by z9999 »

Online prissi

  • Developer
  • Administrator
  • *
  • Posts: 8798
  • Total likes: 319
  • Helpful: 229
  • Languages: De,EN,JP
Re: r2130 - Airplane stuck when change line
« Reply #2 on: November 22, 2008, 08:36:39 PM »
SVN is not working. But changing the following line will solve it.

simvehikel.cc: 3057
Code: [Select]
if(route_index<takeoff  &&  route_index>1  &&  takeoff<cnv->get_route()->gib_max_n())

Offline z9999

[solved]Re: r2130 - Airplane stuck when change line
« Reply #3 on: November 24, 2008, 05:02:57 AM »
That is working well. thank you.