summaryrefslogtreecommitdiff
path: root/src/strgen
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-06-24 22:42:11 +0000
committerpeter1138 <peter1138@openttd.org>2007-06-24 22:42:11 +0000
commit3878c55f345e51999fd5311b7683d897f7a91aa2 (patch)
treed9368d95af8a7f09cc32a4f7eb328fb63e863059 /src/strgen
parente0a9a7d3888668c81e56e626e262d435c38c31b2 (diff)
downloadopenttd-3878c55f345e51999fd5311b7683d897f7a91aa2.tar.xz
(svn r10314) -Codechange: Refer to vehicle names by index
Diffstat (limited to 'src/strgen')
-rw-r--r--src/strgen/strgen.cpp2
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