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
commit20b7c66f7fe06a17920accbce995d2d2448f4f52 (patch)
tree38011285ce74ce89fc7b048e0ff6e6d88adcd0a7 /misc.c
parent80860170973d57edbf48c864a642cb5874f18c48 (diff)
downloadopenttd-20b7c66f7fe06a17920accbce995d2d2448f4f52.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);
}