]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/teamplay.qc
Buffs: make team field available for item teaming, some polishing
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / teamplay.qc
index d6432d698658f270e9a60764d20f1b720c2cd3d7..adad55b7499d99706b23f494798d47fa18509850 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "client.qh"
 #include <server/gamelog.qh>
+#include <server/damage.qh>
 #include "race.qh"
 #include "scores.qh"
 #include "scores_rules.qh"
@@ -29,8 +30,6 @@ enum
 /// \brief Indicates that the player is not allowed to join a team.
 const int TEAM_NOT_ALLOWED = -1;
 
-.float team_forced; // can be a team number to force a team, or 0 for default action, or -1 for forced spectator
-
 .int m_team_balance_state; ///< Holds the state of the team balance entity.
 .entity m_team_balance_team[NUM_TEAMS]; ///< ???