equal
deleted
inserted
replaced
8 #include "engine.h" |
8 #include "engine.h" |
9 #include "command.h" |
9 #include "command.h" |
10 #include "news.h" |
10 #include "news.h" |
11 |
11 |
12 |
12 |
13 StringID GetEngineCategoryName(byte engine) |
13 static StringID GetEngineCategoryName(byte engine) |
14 { |
14 { |
15 if (engine < NUM_TRAIN_ENGINES) { |
15 if (engine < NUM_TRAIN_ENGINES) { |
16 switch (_engines[engine].railtype) { |
16 switch (_engines[engine].railtype) { |
17 case 0: |
17 case 0: |
18 return STR_8102_RAILROAD_LOCOMOTIVE; |
18 return STR_8102_RAILROAD_LOCOMOTIVE; |