OpenTTD

Tasklist

FS#1176 - check for valid vehicle type when adding to group

Attached to Project: OpenTTD
Opened by Zdeněk Sojka (SmatZ) - Friday, 31 August 2007, 16:36 GMT
Last edited by Remko Bijker (Rubidium) - Friday, 31 August 2007, 17:01 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

r11015

Vehicle type is not checked when adding to a group in CmdAddVehicleGroup().
(the default group doesn't have to be checked)

With a modified client, it could result into situations on screenshots (RoadVehicle was added into Group 0 in Trains).

I wasn't able to commit server crash, but it could make problems in the future. And it is an illegal behavior.
This task depends upon

Closed by  Remko Bijker (Rubidium)
Friday, 31 August 2007, 17:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r11019.

Loading...