From ef0a3012095ee011f5b964d9466c388696e957f1 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Wed, 27 Aug 2008 20:18:50 +0000 Subject: ammo counter imaged fixed --- src/game/client/components/hud.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/game/client') 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; -- cgit 1.4.1