summaryrefslogtreecommitdiff
path: root/roadveh_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'roadveh_cmd.c')
-rw-r--r--roadveh_cmd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c
index e4fe8a275..0e544b1f5 100644
--- a/roadveh_cmd.c
+++ b/roadveh_cmd.c
@@ -561,7 +561,9 @@ static void RoadVehCrash(Vehicle *v)
v->cargo_count = 0;
SetDParam(0, pass);
- AddNewsItem(STR_9031_ROAD_VEHICLE_CRASH_DRIVER+(pass!=1),
+ AddNewsItem(
+ (pass == 1) ?
+ STR_9031_ROAD_VEHICLE_CRASH_DRIVER : STR_9032_ROAD_VEHICLE_CRASH_DIE,
NEWS_FLAGS(NM_THIN, NF_VIEWPORT|NF_VEHICLE, NT_ACCIDENT, 0),
v->index,
0);