mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r3079) Determine the type of the "first arrival" message for road vehicles using the cargo type and not a magic engine number
This commit is contained in:
parent
47137cefb7
commit
f5ea31b9da
|
@ -798,7 +798,7 @@ static Vehicle *RoadVehFindCloseTo(Vehicle *v, int x, int y, byte dir)
|
|||
|
||||
static void RoadVehArrivesAt(Vehicle *v, Station *st)
|
||||
{
|
||||
if (v->engine_type < 123) {
|
||||
if (v->cargo_type == CT_PASSENGERS) {
|
||||
/* Check if station was ever visited before */
|
||||
if (!(st->had_vehicle_of_type & HVOT_BUS)) {
|
||||
uint32 flags;
|
||||
|
|
Loading…
Reference in New Issue