X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fbuffs.qh;h=f3437326365b87fe22d91b1250a90d7019e59498;hb=153e558088db2813f7f7dd5367244b5470f4d425;hp=a36ae3f6ce434d275f0975220699e2c3ece00c4d;hpb=bb9450d7c9e2d77e39d5cfcce7a0a74b76de3cf5;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/buffs.qh b/qcsrc/common/buffs.qh index a36ae3f6c..f34373263 100644 --- a/qcsrc/common/buffs.qh +++ b/qcsrc/common/buffs.qh @@ -1,6 +1,9 @@ #ifndef BUFFS_H #define BUFFS_H +#include "teams.qh" +#include "util.qh" + entity Buff_Type_first; entity Buff_Type_last; .entity enemy; // internal next pointer @@ -61,7 +64,7 @@ void buff_Init_Compat(entity ent, int replacement); BUFF_SPAWNFUNC(e##_team1, b, NUM_TEAM_1) \ BUFF_SPAWNFUNC(e##_team2, b, NUM_TEAM_2) \ BUFF_SPAWNFUNC(e##_team3, b, NUM_TEAM_3) \ - BUFF_SPAWNFUNC(e##_team4, b, NUM_TEAM_4) + BUFF_SPAWNFUNC(e##_team4, b, NUM_TEAM_4) BUFF_SPAWNFUNCS(resistance, BUFF_RESISTANCE) BUFF_SPAWNFUNCS(ammo, BUFF_AMMO) @@ -94,4 +97,4 @@ int Buff_Type_FromName(string buff_name); int Buff_Type_FromSprite(string buff_sprite); int Buff_Skin(int buff_id); string Buff_Sprite(int buff_id); -#endif \ No newline at end of file +#endif