diff options
author | rubidium <rubidium@openttd.org> | 2011-05-02 17:42:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-05-02 17:42:12 +0000 |
commit | fb5ecb94992e7febf4bc059cb6ec4a51f50c66b0 (patch) | |
tree | 87956636c318baa8d5d8d62f13263c4f64dbe881 /src/depot_cmd.cpp | |
parent | 4d5dbf51707c42c24eeafdb65016b079c54adcf2 (diff) | |
download | openttd-fb5ecb94992e7febf4bc059cb6ec4a51f50c66b0.tar.xz |
(svn r22411) -Document: another bunch of bits
Diffstat (limited to 'src/depot_cmd.cpp')
-rw-r--r-- | src/depot_cmd.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/depot_cmd.cpp b/src/depot_cmd.cpp index bfc77e3ef..da4b0bfb1 100644 --- a/src/depot_cmd.cpp +++ b/src/depot_cmd.cpp @@ -21,7 +21,11 @@ #include "table/strings.h" - +/** + * Check whether the given name is globally unique amongst depots. + * @param name The name to check. + * @return True if there is no depot with the given name. + */ static bool IsUniqueDepotName(const char *name) { const Depot *d; |