OpenTTD / OpenTTD

OpenTTD is an open source simulation game based upon Transport Tycoon Deluxe
https://www.openttd.org/
Other
6.41k stars 896 forks source link

Autoreplace Aircraft error #2569

Closed DorpsGek closed 15 years ago

DorpsGek commented 15 years ago

oklmernok opened the ticket and wrote:

r15197 nightly no NewGRF winXP

I'm testing the new AI-s, when I tried to autoreplace (not autorenew) my aircrafts. The console shows wrong aircraft list on the left side, because I use only 3 models of aircraft (it shows 10). The road vehicles, ships and trains console works fine. BN

Attachments

Reported version: trunk Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/2569
DorpsGek commented 15 years ago

oklmernok wrote:

The road vehicles has the same problem.. :( I can autoreplace my aircrafts if I choose my kind of aircraft on the left side. if I choose a non existing kind of plain then nothing happen. The bug could be only in the creating the LIST.. but you will know it better.


This comment was imported from FlySpray: https://bugs.openttd.org/task/2569#comment5400
DorpsGek commented 15 years ago

SmatZ wrote:

# 4 0x0000000000627947 in Vehicle::PreDestructor (this=0xc53070) at /openttd-rev/src/vehicle.cpp:569 # 5 0x0000000000592aff in ~RoadVehicle (this=0xc53070) at /openttd-rev/src/roadveh.h:69 # 6 0x000000000045e00f in AIEngine::GetRunningCost (engine_id=119) at /openttd-rev/src/ai/api/ai_engine.cpp:222

[21:51:21] oh dear, that is a big task :/ most functions in ai_engine do not use GetEngineProperty when they should


This comment was imported from FlySpray: https://bugs.openttd.org/task/2569#comment5406
DorpsGek commented 15 years ago

glx closed the ticket.

Reason for closing: Fixed

In r15261.


This comment was imported from FlySpray: https://bugs.openttd.org/task/2569