summaryrefslogtreecommitdiff
path: root/engine_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'engine_gui.c')
-rw-r--r--engine_gui.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/engine_gui.c b/engine_gui.c
index 61147d644..69df50f42 100644
--- a/engine_gui.c
+++ b/engine_gui.c
@@ -20,9 +20,10 @@ static StringID GetEngineCategoryName(EngineID engine)
{
if (engine < NUM_TRAIN_ENGINES) {
switch (GetEngine(engine)->railtype) {
- case RAILTYPE_RAIL: return STR_8102_RAILROAD_LOCOMOTIVE;
- case RAILTYPE_MONO: return STR_8106_MONORAIL_LOCOMOTIVE;
- case RAILTYPE_MAGLEV: return STR_8107_MAGLEV_LOCOMOTIVE;
+ case RAILTYPE_RAIL: return STR_8102_RAILROAD_LOCOMOTIVE;
+ case RAILTYPE_ELECTRIC: return STR_8102_RAILROAD_LOCOMOTIVE;
+ case RAILTYPE_MONO: return STR_8106_MONORAIL_LOCOMOTIVE;
+ case RAILTYPE_MAGLEV: return STR_8107_MAGLEV_LOCOMOTIVE;
}
}