openttd updated to 1.5.0-beta2

--HG--
branch : openttd
This commit is contained in:
Pavel Stupnikov
2015-03-01 00:30:53 +03:00
parent 0abb47ce90
commit d201932121
682 changed files with 26103 additions and 16553 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: depot_cmd.cpp 25865 2013-10-13 20:11:05Z zuu $ */
/* $Id: depot_cmd.cpp 26509 2014-04-25 15:40:32Z rubidium $ */
/*
* This file is part of OpenTTD.
@@ -21,6 +21,8 @@
#include "table/strings.h"
#include "safeguards.h"
/**
* Check whether the given name is globally unique amongst depots.
* @param name The name to check.
@@ -68,7 +70,7 @@ CommandCost CmdRenameDepot(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3
d->name = NULL;
MakeDefaultName(d);
} else {
d->name = strdup(text);
d->name = stredup(text);
}
/* Update the orders and depot */