From a0debf876ed7e8671a98dbad03befb4270da9c8b Mon Sep 17 00:00:00 2001 From: dwsJason Date: Sat, 1 Dec 2018 21:59:54 -0500 Subject: [PATCH] Better Fix the entities rendering in the wrong frame on a screen transition --- src/game.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/game.c b/src/game.c index 11fe656..ecb76fb 100644 --- a/src/game.c +++ b/src/game.c @@ -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;