mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Place the current loading percentage into RETURN for EVENT_DISPLAYLOADINGSCREEN.
git-svn-id: https://svn.eduke32.com/eduke32@4900 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
43161e1fd8
commit
64943543a4
1 changed files with 2 additions and 2 deletions
|
@ -383,7 +383,7 @@ static void G_DoLoadScreen(const char *statustext, int32_t percent)
|
|||
rotatesprite(158<<16,144<<16,65536,0,929,0,0,2+8+16,0,0,ii,ydim-1);
|
||||
}
|
||||
|
||||
VM_OnEvent(EVENT_DISPLAYLOADINGSCREEN, g_player[screenpeek].ps->i, screenpeek);
|
||||
VM_OnEventWithReturn(EVENT_DISPLAYLOADINGSCREEN, g_player[screenpeek].ps->i, screenpeek, percent);
|
||||
nextpage();
|
||||
|
||||
if (!statustext)
|
||||
|
@ -418,7 +418,7 @@ static void G_DoLoadScreen(const char *statustext, int32_t percent)
|
|||
|
||||
menutext(160,105,0,0,"Loading...");
|
||||
if (statustext) gametext(160,180,statustext,0,2+8+16);
|
||||
VM_OnEvent(EVENT_DISPLAYLOADINGSCREEN, g_player[screenpeek].ps->i, screenpeek);
|
||||
VM_OnEventWithReturn(EVENT_DISPLAYLOADINGSCREEN, g_player[screenpeek].ps->i, screenpeek, percent);
|
||||
nextpage();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue