Better Fix the entities rendering in the wrong frame on a screen transition

This commit is contained in:
dwsJason 2018-12-01 21:59:54 -05:00
parent 85d60e6126
commit a0debf876e
1 changed files with 2 additions and 3 deletions

View File

@ -562,9 +562,8 @@ frame(void)
draw_map(); /* draw the map onto the buffer */
draw_drawStatus(); /* draw the status bar onto the buffer */
draw_STATUSRECT.next = NULL;
game_state = PLAY3;
frame();
frame();
ent_action();
game_state = PLAY3;
game_rects = &draw_SCREENRECT; /* request full screen refresh */
return;