(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.

This commit is contained in:
peter1138
2007-06-25 07:33:40 +00:00
parent 9549707bfd
commit 59dd90b76a
4 changed files with 7 additions and 8 deletions

View File

@@ -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;