mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
- Duke: fixed some issues with the pipe bomb’s detonator in the alt HUD.
This commit is contained in:
parent
a3dbfab54b
commit
95d10bd73c
1 changed files with 2 additions and 2 deletions
|
@ -543,7 +543,7 @@ class DukeStatusBar : DukeCommonStatusBar
|
|||
if (p.gotweapon[i] && weaponIcons[i] != "")
|
||||
{
|
||||
if (p.curr_weapon == i ||
|
||||
(p.curr_weapon == DukeWpn.HANDREMOTE_WEAPON && i == DukeWpn.HANDREMOTE_WEAPON) ||
|
||||
(p.curr_weapon == DukeWpn.HANDREMOTE_WEAPON && i == DukeWpn.HANDBOMB_WEAPON) ||
|
||||
(p.curr_weapon == DukeWpn.GROW_WEAPON && i == DukeWpn.SHRINKER_WEAPON))
|
||||
{
|
||||
stats.weaponselect = stats.weaponicons.Size();
|
||||
|
@ -560,7 +560,7 @@ class DukeStatusBar : DukeCommonStatusBar
|
|||
{
|
||||
int ammonum = ammoorder[i];
|
||||
if (ammonum == DukeWpn.GROW_WEAPON && !Raze.isPlutoPak()) continue;
|
||||
if (p.curr_weapon == ammonum)
|
||||
if (p.curr_weapon == ammonum || (p.curr_weapon == DukeWpn.HANDREMOTE_WEAPON && ammonum == DukeWpn.HANDBOMB_WEAPON))
|
||||
{
|
||||
stats.ammoselect = stats.ammoicons.Size();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue