OpenTTD

Tasklist

FS#2769 - Buy-company-dialog lost

Attached to Project: OpenTTD
Opened by frosch (frosch) - Saturday, 28 March 2009, 16:40 GMT
Last edited by Remko Bijker (Rubidium) - Tuesday, 01 September 2009, 12:57 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version 1.0.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

ShowBuyCompanyDialog() was called from default.cpp before noai merge, so human singleplayer could take over bankrupt ai companies.

Currently the function is not called at all, so taking over bankrupt companies is not offered.

No idea what to do in multiplayer :) Offer any (also human) bankrupt company to every player, and the one who is fastest with accepting, gets it?
This task depends upon

Closed by  Remko Bijker (Rubidium)
Tuesday, 01 September 2009, 12:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r17345
Comment by Thijs Marinussen (Yexo) - Saturday, 28 March 2009, 17:20 GMT
Before the NoAI merge the player (or AI) with the highest company rating got the offer first, then the next company (by company rating), etc. In multiplaye we'll need a timeout, but so will we when the offer is to another AI.

Loading...