diff options
author | peter1138 <peter1138@openttd.org> | 2007-06-24 22:42:11 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-06-24 22:42:11 +0000 |
commit | fc7418d19d831e7ebc0e7c5b5651d58e76158fe0 (patch) | |
tree | d9368d95af8a7f09cc32a4f7eb328fb63e863059 /src/strgen | |
parent | ce91598e3ce045fcc3aeed3a3f07821d96605e9f (diff) | |
download | openttd-fc7418d19d831e7ebc0e7c5b5651d58e76158fe0.tar.xz |
(svn r10314) -Codechange: Refer to vehicle names by index
Diffstat (limited to 'src/strgen')
-rw-r--r-- | src/strgen/strgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp index 2433f7394..e6be06104 100644 --- a/src/strgen/strgen.cpp +++ b/src/strgen/strgen.cpp @@ -465,7 +465,6 @@ static const CmdStruct _cmd_structs[] = { // The first string includes the second string. {"COMPANY", EmitSingleChar, SCC_STRING1, 2, 0}, {"PLAYERNAME", EmitSingleChar, SCC_STRING1, 1, 0}, - {"VEHICLE", EmitSingleChar, SCC_STRING1, 1, 0}, {"STRING1", EmitSingleChar, SCC_STRING1, 1, C_CASE}, // included string that consumes ONE argument {"STRING2", EmitSingleChar, SCC_STRING2, 2, C_CASE}, // included string that consumes TWO arguments @@ -505,6 +504,7 @@ static const CmdStruct _cmd_structs[] = { {"STATION", EmitSingleChar, SCC_STATION_NAME, 1, 0}, {"TOWN", EmitSingleChar, SCC_TOWN_NAME, 1, 0}, {"GROUP", EmitSingleChar, SCC_GROUP_NAME, 1, 0}, + {"VEHICLE", EmitSingleChar, SCC_VEHICLE_NAME, 1, 0}, // 0x9D is used for the pseudo command SETCASE // 0x9E is used for case switching |