From c692d897cd1bdeb8d4e00349519a460fcdd2c262 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 27 Jun 2007 20:53:25 +0000 Subject: (svn r10364) -Fix [FS#706]: checking for duplicate custom names was inconsistent, and tested all 'namespaces'. now only check names of the same type. --- src/functions.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/functions.h') 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(); -- cgit v1.2.3-54-g00ecf