mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-29 23:32:18 +00:00
CLIENT: Fix "LOW AMMO" incorrectly triggering
This commit is contained in:
parent
88c08e24b4
commit
4e88aa404a
1 changed files with 2 additions and 2 deletions
|
@ -165,8 +165,8 @@ void() HUD_AmmoString =
|
||||||
message = "NO AMMO";
|
message = "NO AMMO";
|
||||||
textcolor = [215/255, 0, 0];
|
textcolor = [215/255, 0, 0];
|
||||||
}
|
}
|
||||||
// Display LOW AMMO if both are low.
|
// Display LOW AMMO if mag is low and reserve is empty
|
||||||
else if (reserve_is_low == true && mag_is_low == true)
|
else if (mag_is_low == true && getstatf(STAT_AMMO) <= 0)
|
||||||
{
|
{
|
||||||
message = "LOW AMMO";
|
message = "LOW AMMO";
|
||||||
textcolor = [219/255, 203/255, 19/255];
|
textcolor = [219/255, 203/255, 19/255];
|
||||||
|
|
Loading…
Reference in a new issue