HLMaterials_Load: Fix typo that prevented us from adding an processed
texture name to our hash table
This commit is contained in:
parent
3bb88216c8
commit
93d46022fa
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue