(svn r2565) Fix: Remove GetParamInt8, GetParamInt16, GetParamUint16.. they are just confusing and just do the same thing as GetParamInt32

This commit is contained in:
ludde
2005-07-14 09:53:52 +00:00
parent 3e62457107
commit 53851d5e77
3 changed files with 13 additions and 41 deletions

2
misc.c
View File

@@ -320,7 +320,7 @@ void DeleteName(StringID id)
char *GetName(int id, char *buff)
{
if (id & 0x400) GetParamInt32();
if (id & 0x200) GetParamUint16();
if (id & 0x200) GetParamInt32();
return strecpy(buff, _name_array[id & ~0x600], NULL);
}