From b88318097f64db3810ef6f2efb9cf318ebf2bef6 Mon Sep 17 00:00:00 2001 From: Linus Probert Date: Tue, 15 May 2018 11:19:28 +0200 Subject: [PATCH] Render texts after particles. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index e8d5f1e..d8e561e 100644 --- a/src/main.c +++ b/src/main.c @@ -506,7 +506,6 @@ run_game(void) SDL_RenderSetViewport(gRenderer, &gameViewport); map_render(gMap, gCamera); - actiontextbuilder_render(gCamera); particle_engine_render_game(gCamera); if (!is_player_dead()) @@ -516,6 +515,7 @@ run_game(void) roommatrix_render_mouse_square(gRoomMatrix, gCamera); roommatrix_render_lightmap(gRoomMatrix, gCamera); + actiontextbuilder_render(gCamera); gui_render_event_message(gGui, gCamera); SDL_RenderSetViewport(gRenderer, &rightGuiViewport);