summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index b95c61e27..16f6363fe 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -85,6 +85,8 @@ Engine::Engine(VehicleType type, EngineID base)
this->info.base_life = 0xFF;
/* Set road vehicle tractive effort to the default value */
if (type == VEH_ROAD) this->u.road.tractive_effort = 0x4C;
+ /* Set visual effect to the default value */
+ if (type == VEH_TRAIN) this->u.rail.visual_effect = VE_DEFAULT;
return;
}