Whee, another char index issue.

This commit is contained in:
Bill Currie 2012-08-18 11:50:35 +09:00
parent d074f4a983
commit 5613b272da

View file

@ -62,7 +62,7 @@ wad_get_hash (void *l, void *unused)
int i;
for (i = 0; i < 16; i++)
name[i] = tolower (((lumpinfo_t *) l)->name[i]);
name[i] = tolower ((byte) ((lumpinfo_t *) l)->name[i]);
name[16] = 0;
return Hash_String (name);
}