about summary refs log tree commit diff
path: root/src/game/client/components
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-08-27 20:18:50 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-08-27 20:18:50 +0000
commitef0a3012095ee011f5b964d9466c388696e957f1 (patch)
treec14a726e2a0e9d7fd5f31c117ec2bf78860fa19c /src/game/client/components
parent25a2e529bab1d65e19f4bddebda94539f576e2ad (diff)
downloadzcatch-ef0a3012095ee011f5b964d9466c388696e957f1.tar.gz
zcatch-ef0a3012095ee011f5b964d9466c388696e957f1.zip
ammo counter imaged fixed
Diffstat (limited to 'src/game/client/components')
-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;