about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/client/components/hud.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/client/components/hud.cpp b/src/game/client/components/hud.cpp
index a73ed955..af8c9b5c 100644
--- a/src/game/client/components/hud.cpp
+++ b/src/game/client/components/hud.cpp
@@ -211,9 +211,12 @@ void HUD::render_healthandammo()
 
 	// render ammo count
 	// render gui stuff
-	gfx_quads_begin();
+
+	gfx_texture_set(data->images[IMAGE_GAME].id);
 	gfx_mapscreen(0,0,width,300);
 	
+	gfx_quads_begin();
+	
 	// if weaponstage is active, put a "glow" around the stage ammo
 	select_sprite(data->weapons.id[gameclient.snap.local_character->weapon%NUM_WEAPONS].sprite_proj);
 	for (int i = 0; i < min(gameclient.snap.local_character->ammocount, 10); i++)
@@ -221,7 +224,6 @@ void HUD::render_healthandammo()
 
 	gfx_quads_end();
 
-	gfx_texture_set(data->images[IMAGE_GAME].id);
 	gfx_quads_begin();
 	int h = 0;