mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 03:52:12 -04:00
make sure weapon widget string is always terminated
Glitch introduced by variable gap width for unavailable weapons.
This commit is contained in:
parent
c5914bb4db
commit
3ac3ac7289
@ -1305,6 +1305,7 @@ void HU_Drawer(void)
|
||||
}
|
||||
|
||||
// transfer the init string to the widget
|
||||
hud_weapstr[i] = '\0';
|
||||
s = hud_weapstr;
|
||||
while (*s)
|
||||
HUlib_addCharToTextLine(&w_weapon, *s++);
|
||||
|
Loading…
x
Reference in New Issue
Block a user