mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
[qw,nq] Clean out sbar key_dest handling
I really don't remember why it mattered if key_dest was game. If it was draw layer issues, then this wasn't the correct fix anyway.
This commit is contained in:
parent
ca23065b90
commit
ba49c64fc3
2 changed files with 2 additions and 18 deletions
|
@ -1642,13 +1642,7 @@ Sbar_GIB_Print_Center_f (void)
|
|||
} else
|
||||
Sbar_CenterPrint (GIB_Argv(1));
|
||||
}
|
||||
#if 0
|
||||
static void
|
||||
sbar_keydest_callback (keydest_t kd, void *data)
|
||||
{
|
||||
overlay_view->visible = kd == key_game;
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
Sbar_Init (void)
|
||||
{
|
||||
|
@ -1656,8 +1650,6 @@ Sbar_Init (void)
|
|||
|
||||
init_views ();
|
||||
|
||||
//Key_KeydestCallback (sbar_keydest_callback, 0);
|
||||
|
||||
for (i = 0; i < 10; i++) {
|
||||
sb_nums[0][i] = r_funcs->Draw_PicFromWad (va (0, "num_%i", i));
|
||||
sb_nums[1][i] = r_funcs->Draw_PicFromWad (va (0, "anum_%i", i));
|
||||
|
|
|
@ -1939,13 +1939,7 @@ Sbar_GIB_Print_Center_f (void)
|
|||
} else
|
||||
Sbar_CenterPrint (GIB_Argv(1));
|
||||
}
|
||||
#if 0
|
||||
static void
|
||||
sbar_keydest_callback (keydest_t kd, void *data)
|
||||
{
|
||||
overlay_view->visible = kd == key_game;
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
Sbar_Init (void)
|
||||
{
|
||||
|
@ -1953,8 +1947,6 @@ Sbar_Init (void)
|
|||
|
||||
init_views ();
|
||||
|
||||
//Key_KeydestCallback (sbar_keydest_callback, 0);
|
||||
|
||||
for (i = 0; i < 10; i++) {
|
||||
sb_nums[0][i] = r_funcs->Draw_PicFromWad (va (0, "num_%i", i));
|
||||
sb_nums[1][i] = r_funcs->Draw_PicFromWad (va (0, "anum_%i", i));
|
||||
|
|
Loading…
Reference in a new issue