HLMaterials_Load: Fix typo that prevented us from adding an processed

texture name to our hash table
This commit is contained in:
Marco Cawthorne 2021-11-06 07:31:51 +01:00
parent 3bb88216c8
commit 93d46022fa
Signed by: eukara
GPG Key ID: C196CD8BA993248A
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ HLMaterials_Load(string filename)
if (tokenize_console(sTemp) == 2) {
mat_type = strtoupper(argv(0));
tex_name = Materials_FixName(strtolower(argv(1)));
hash_add(hashMaterials, strtolower(argv(1)), str2chr(mat_type, 0));
hash_add(hashMaterials, tex_name, str2chr(mat_type, 0));
}
}
fclose(fileMaterial);