mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-26 21:54:22 +01:00
Codechange: Use enum class for NewsType.
This commit is contained in:
committed by
Peter Nelson
parent
4fd1929bf7
commit
ca75a8ce19
@@ -474,7 +474,7 @@ static void ShipArrivesAt(const Vehicle *v, Station *st)
|
||||
SetDParam(0, st->index);
|
||||
AddVehicleNewsItem(
|
||||
STR_NEWS_FIRST_SHIP_ARRIVAL,
|
||||
(v->owner == _local_company) ? NT_ARRIVAL_COMPANY : NT_ARRIVAL_OTHER,
|
||||
(v->owner == _local_company) ? NewsType::ArrivalCompany : NewsType::ArrivalOther,
|
||||
v->index,
|
||||
st->index
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user