mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
fixed loading display
i guess
This commit is contained in:
parent
135fb021e5
commit
45d3dd0a2f
1 changed files with 11 additions and 3 deletions
|
@ -492,7 +492,6 @@ SCR_DrawLoading(void)
|
|||
return;
|
||||
}
|
||||
|
||||
scr_draw_loading = false;
|
||||
Draw_GetPicSize(&w, &h, "loading");
|
||||
Draw_PicScaled((viddef.width - w * scale) / 2, (viddef.height - h * scale) / 2, "loading", scale);
|
||||
}
|
||||
|
@ -609,6 +608,9 @@ SCR_BeginLoadingPlaque(void)
|
|||
}
|
||||
|
||||
SCR_UpdateScreen();
|
||||
|
||||
scr_draw_loading = false;
|
||||
|
||||
SCR_StopCinematic();
|
||||
cls.disable_screen = Sys_Milliseconds();
|
||||
cls.disable_servercount = cl.servercount;
|
||||
|
@ -1463,8 +1465,14 @@ SCR_UpdateScreen(void)
|
|||
/* loading plaque over black screen */
|
||||
int w, h;
|
||||
|
||||
R_SetPalette(NULL);
|
||||
scr_draw_loading = false;
|
||||
if(i == 0){
|
||||
R_SetPalette(NULL);
|
||||
}
|
||||
|
||||
if(i == numframes - 1){
|
||||
scr_draw_loading = false;
|
||||
}
|
||||
|
||||
Draw_GetPicSize(&w, &h, "loading");
|
||||
Draw_PicScaled((viddef.width - w * scale) / 2, (viddef.height - h * scale) / 2, "loading", scale);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue