mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-17 01:11:18 +00:00
Fixes a crash with demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3166 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
e71b59bf92
commit
1c644b51e7
1 changed files with 2 additions and 0 deletions
|
@ -1487,6 +1487,8 @@ void SCR_DrawLoading (void)
|
||||||
Draw_String((vid.width-7*8)/2, y-16, "Loading");
|
Draw_String((vid.width-7*8)/2, y-16, "Loading");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!total_loading_size)
|
||||||
|
total_loading_size = 1;
|
||||||
if (loading_stage > LS_CONNECTION)
|
if (loading_stage > LS_CONNECTION)
|
||||||
{
|
{
|
||||||
sizex = current_loading_size * 192 / total_loading_size;
|
sizex = current_loading_size * 192 / total_loading_size;
|
||||||
|
|
Loading…
Reference in a new issue