game.c: commit the hacky fix for the sprites glitching on a screen transition

This commit is contained in:
dwsJason 2018-11-24 17:18:25 -05:00
parent b78e3f1e5f
commit 78e5ff4305
1 changed files with 4 additions and 4 deletions

View File

@ -538,20 +538,20 @@ frame(void)
}
break;
case CHAIN_END:
map_init(); /* initialize the map */
isave(); /* save data in case of a restart */
ent_clprev(); /* cleanup entities */
draw_map(); /* draw the map onto the buffer */
draw_drawStatus(); /* draw the status bar onto the buffer */
game_rects = &draw_SCREENRECT; /* request full screen refresh */
draw_STATUSRECT.next = NULL;
game_state = PLAY3;
frame();
frame();
game_rects = &draw_SCREENRECT; /* request full screen refresh */
return;
case SCROLL_UP:
switch (scroll_up()) {
case SCROLL_RUNNING: