Draw frame at level start after EVENT_LOADPLAYER instead of before.

git-svn-id: https://svn.eduke32.com/eduke32@5487 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2015-12-23 04:06:13 +00:00
parent 49dd9ca9b7
commit b0cb97acb6

View file

@ -2000,12 +2000,6 @@ int32_t G_EnterLevel(int32_t g)
for (i=g_numInterpolations-1; i>=0; i--) bakipos[i] = *curipos[i]; for (i=g_numInterpolations-1; i>=0; i--) bakipos[i] = *curipos[i];
g_restorePalette = -1;
G_UpdateScreenArea();
clearview(0L);
G_DrawBackground();
G_DrawRooms(myconnectindex,65536);
g_player[myconnectindex].ps->over_shoulder_on = 0; g_player[myconnectindex].ps->over_shoulder_on = 0;
@ -2029,6 +2023,13 @@ int32_t G_EnterLevel(int32_t g)
OSD_Printf(OSDTEXT_YELLOW "E%dL%d: %s\n", ud.volume_number+1, ud.level_number+1, OSD_Printf(OSDTEXT_YELLOW "E%dL%d: %s\n", ud.volume_number+1, ud.level_number+1,
MapInfo[mii].name); MapInfo[mii].name);
g_restorePalette = -1;
G_UpdateScreenArea();
clearview(0L);
G_DrawBackground();
G_DrawRooms(myconnectindex,65536);
Net_WaitForServer(); Net_WaitForServer();
return 0; return 0;
} }