diff options
author | belugas <belugas@openttd.org> | 2007-03-22 03:42:43 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-03-22 03:42:43 +0000 |
commit | 691f8578fd4ea12c372534c367312ee7b8763c39 (patch) | |
tree | 7d05afaad21b690abc8c07d95e1f62206b11bccd /src/train_cmd.cpp | |
parent | 829822768516b017f1962e08ce14b0586575c92f (diff) | |
download | openttd-691f8578fd4ea12c372534c367312ee7b8763c39.tar.xz |
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r-- | src/train_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 676a43396..7a0b839f9 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -3214,7 +3214,7 @@ static void HandleBrokenTrain(Vehicle *v) InvalidateWindow(WC_VEHICLE_DETAILS, v->index); if (!PlayVehicleSound(v, VSE_BREAKDOWN)) { - SndPlayVehicleFx((_opt.landscape != LT_CANDY) ? + SndPlayVehicleFx((_opt.landscape != LT_TOYLAND) ? SND_10_TRAIN_BREAKDOWN : SND_3A_COMEDY_BREAKDOWN_2, v); } |