From 3878c55f345e51999fd5311b7683d897f7a91aa2 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sun, 24 Jun 2007 22:42:11 +0000 Subject: (svn r10314) -Codechange: Refer to vehicle names by index --- src/strgen/strgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strgen') 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 -- cgit v1.2.3-70-g09d2