mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
ammo counter imaged fixed
This commit is contained in:
parent
25a2e529ba
commit
ef0a301209
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue