summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorludde <ludde@openttd.org>2005-07-14 09:53:52 +0000
committerludde <ludde@openttd.org>2005-07-14 09:53:52 +0000
commit53851d5e776484c92d535d756d6cb06a4fc9013a (patch)
tree38011285ce74ce89fc7b048e0ff6e6d88adcd0a7 /misc.c
parent3e62457107457c8295076370425e9a1df44fa58c (diff)
downloadopenttd-53851d5e776484c92d535d756d6cb06a4fc9013a.tar.xz
(svn r2565) Fix: Remove GetParamInt8, GetParamInt16, GetParamUint16.. they are just confusing and just do the same thing as GetParamInt32
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 9e87baf97..bf78f9b98 100644
--- a/misc.c
+++ b/misc.c
@@ -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);
}