From: TimePath Date: Sun, 14 Dec 2014 06:48:34 +0000 (+1100) Subject: Fix ammo panel layout X-Git-Tag: xonotic-v0.8.0~87^2 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=1b3630b4f10355738093ffd044caab84e2d5b2b5 Fix ammo panel layout Fixes #1415 --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index b928aa512a..e78a69108e 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -985,7 +985,7 @@ void HUD_Ammo(void) if (autocvar_hud_panel_ammo_onlycurrent) total_ammo_count = 1; else - total_ammo_count = AMMO_COUNT - 1; // fuel + total_ammo_count = AMMO_COUNT; if(draw_nades) { @@ -1059,7 +1059,6 @@ void HUD_Ammo(void) row = column = 0; for(i = 0; i < AMMO_COUNT; ++i) { - if(i == 4) continue; // fuel ammotype = GetAmmoFieldFromNum(i); DrawAmmoItem( pos + eX * column * (ammo_size_x + offset_x) + eY * row * (ammo_size_y + offset_y),