X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fhud.qc;h=1636b11e7d59d64842148bae48860a2f96534f12;hp=cd1c6efee469a440314f01ff9e08a85f2663af22;hb=6b8490ff79ca48220bd0023b5da4019d1bfdcd7d;hpb=a2534e940afed54c3f1ba5ab159254c21b40334f diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index cd1c6efee4..1636b11e7d 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -9,7 +9,7 @@ #include "../dpdefs/keycodes.qh" -#include "../common/buffs.qh" +#include "../common/buffs/all.qh" #include "../common/constants.qh" #include "../common/deathtypes.qh" #include "../common/items/all.qc" @@ -1283,7 +1283,7 @@ void HUD_Powerups() if(superTime) addPowerupItem("Superweapons", "superweapons", autocvar_hud_progressbar_superweapons_color, superTime, 30); - FOREACH(BUFFS, it.m_itemid & allBuffs, LAMBDA( + FOREACH(Buffs, it.m_itemid & allBuffs, LAMBDA( addPowerupItem(it.m_prettyName, strcat("buff_", it.m_name), it.m_color, bound(0, getstatf(STAT_BUFF_TIME) - time, 99), 60); ));