clean up some dead code

This commit is contained in:
Bill Currie 2001-12-29 05:33:09 +00:00
parent 32f125c516
commit 4a7515fcff

View file

@ -1319,8 +1319,6 @@ void SCR_UpdateScreen (void)
scr_draw_loading = false; scr_draw_loading = false;
re.DrawGetPicSize (&w, &h, "loading"); re.DrawGetPicSize (&w, &h, "loading");
re.DrawPic ((viddef.width-w)/2, (viddef.height-h)/2, "loading"); re.DrawPic ((viddef.width-w)/2, (viddef.height-h)/2, "loading");
// re.EndFrame();
// return;
} }
// if a cinematic is supposed to be running, handle menus // if a cinematic is supposed to be running, handle menus
// and console specially // and console specially
@ -1334,8 +1332,6 @@ void SCR_UpdateScreen (void)
cl.cinematicpalette_active = false; cl.cinematicpalette_active = false;
} }
M_Draw (); M_Draw ();
// re.EndFrame();
// return;
} }
else if (cls.key_dest == key_console) else if (cls.key_dest == key_console)
{ {
@ -1345,14 +1341,10 @@ void SCR_UpdateScreen (void)
cl.cinematicpalette_active = false; cl.cinematicpalette_active = false;
} }
SCR_DrawConsole (); SCR_DrawConsole ();
// re.EndFrame();
// return;
} }
else else
{ {
SCR_DrawCinematic(); SCR_DrawCinematic();
// re.EndFrame();
// return;
} }
} }
else else