summaryrefslogtreecommitdiff
path: root/src/group_cmd.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-06-25 07:33:40 +0000
committerpeter1138 <peter1138@openttd.org>2007-06-25 07:33:40 +0000
commit74e34ee7291fe7aa668cad7afde229632aaf85e6 (patch)
tree7fdecdb9770ef230cc429a68a81b7d20d2770f76 /src/group_cmd.cpp
parentd1805ed0546e85236bd44004e0a1cc8ad9cfa1b7 (diff)
downloadopenttd-74e34ee7291fe7aa668cad7afde229632aaf85e6.tar.xz
(svn r10316) -Codechange: (consistently) use index to refer to group names. Also the group string_id is irrelevant unless it is a custom name, so don't 'waste' a savegame string id.
Diffstat (limited to 'src/group_cmd.cpp')
-rw-r--r--src/group_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group_cmd.cpp b/src/group_cmd.cpp
index c5de860dd..7505d63b5 100644
--- a/src/group_cmd.cpp
+++ b/src/group_cmd.cpp
@@ -103,7 +103,7 @@ CommandCost CmdCreateGroup(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
if (flags & DC_EXEC) {
g->owner = _current_player;
- g->string_id = STR_SV_GROUP_NAME;
+ g->string_id = STR_EMPTY;
g->replace_protection = false;
g->vehicle_type = vt;