mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-24 04:29:34 -04:00
reset color range in the w_keys widgets
This commit is contained in:
parent
21aeefee24
commit
4be6a0de42
@ -747,6 +747,9 @@ void HU_Start(void)
|
||||
sprintf(hud_keysstr,"KEY ");
|
||||
else
|
||||
sprintf(hud_keysstr,"FRG ");
|
||||
// [FG] reset color range
|
||||
hud_keysstr[4] = '\x1b';
|
||||
hud_keysstr[5] = '0'+CR_RED;
|
||||
s = hud_keysstr;
|
||||
while (*s)
|
||||
HUlib_addCharToTextLine(&w_keys, *s++);
|
||||
@ -1119,7 +1122,7 @@ static void HU_widget_build_keys (void)
|
||||
int i, k;
|
||||
char *s;
|
||||
|
||||
i = 4;
|
||||
i = 6;
|
||||
hud_keysstr[i] = '\0'; //jff 3/7/98 make sure deleted keys go away
|
||||
|
||||
if (!deathmatch)
|
||||
|
Loading…
x
Reference in New Issue
Block a user