HLSprite_Init: TFC weapons start with 'tf_weapon' so we gotta search for those too
This commit is contained in:
parent
f52e61dbd0
commit
3906dadddc
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ HLSprite_Init(void)
|
||||||
g_hlSpriteCount = 0i;
|
g_hlSpriteCount = 0i;
|
||||||
spriteCount = HLSprite_CountEntriesInFile("sprites/hud.txt");
|
spriteCount = HLSprite_CountEntriesInFile("sprites/hud.txt");
|
||||||
|
|
||||||
sh = search_begin("sprites/weapon_*.txt", TRUE, TRUE);
|
sh = search_begin("sprites/*weapon_*.txt", TRUE, TRUE);
|
||||||
|
|
||||||
for (int i = 0; i < search_getsize(sh); i++) {
|
for (int i = 0; i < search_getsize(sh); i++) {
|
||||||
hudFile = search_getfilename(sh, i);
|
hudFile = search_getfilename(sh, i);
|
||||||
|
|
Loading…
Reference in a new issue