From 3906dadddc6b743bc033fc3a90ec95420e0765c5 Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Fri, 26 Jul 2024 17:16:50 -0700 Subject: [PATCH] HLSprite_Init: TFC weapons start with 'tf_weapon' so we gotta search for those too --- src/client/hud_sprite.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/hud_sprite.qc b/src/client/hud_sprite.qc index a7c4ac0..a79692a 100644 --- a/src/client/hud_sprite.qc +++ b/src/client/hud_sprite.qc @@ -112,7 +112,7 @@ HLSprite_Init(void) g_hlSpriteCount = 0i; 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++) { hudFile = search_getfilename(sh, i);