engine_gui.c
changeset 1095 b59632d9df1b
parent 1009 75140dc68759
child 1891 862800791170
equal deleted inserted replaced
1094:9a01482df45a 1095:b59632d9df1b
     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;