summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
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);
}