summaryrefslogtreecommitdiff
path: root/src/functions.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-06-27 20:53:25 +0000
committerpeter1138 <peter1138@openttd.org>2007-06-27 20:53:25 +0000
commitc692d897cd1bdeb8d4e00349519a460fcdd2c262 (patch)
treee2ac06c3a62de5b5f8411541f83536ef20f32ee0 /src/functions.h
parentde357c74c1ac4df582f32849bfbc5681c3552171 (diff)
downloadopenttd-c692d897cd1bdeb8d4e00349519a460fcdd2c262.tar.xz
(svn r10364) -Fix [FS#706]: checking for duplicate custom names was inconsistent, and tested all 'namespaces'. now only check names of the same type.
Diffstat (limited to 'src/functions.h')
-rw-r--r--src/functions.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/functions.h b/src/functions.h
index de5faec9c..15bc4779a 100644
--- a/src/functions.h
+++ b/src/functions.h
@@ -98,9 +98,6 @@ bool IsCustomName(StringID id);
void DeleteName(StringID id);
char *GetName(char *buff, StringID id, const char* last);
-/* AllocateNameUnique also tests if the name used is not used anywere else
- * and if it is used, it returns an error. */
-#define AllocateNameUnique(name, skip) RealAllocateName(name, skip, true)
#define AllocateName(name, skip) RealAllocateName(name, skip, false)
StringID RealAllocateName(const char *name, byte skip, bool check_double);
void ConvertNameArray();