]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/teamplay.qh
Don't update the weapon's classname on spawn (we still need the old name for compatib...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / teamplay.qh
index a2cc6ca05b88cf5c655e7af432c8885f92bf88f1..1813db04d8d111387a6a1667c6033e9b2e890f6c 100644 (file)
@@ -37,8 +37,6 @@ void LogTeamchange(float player_id, float team_number, float type);
 
 void default_delayedinit(entity this);
 
-void ActivateTeamplay();
-
 void InitGameplayMode();
 
 string GetClientVersionMessage(entity this);
@@ -47,6 +45,11 @@ string getwelcomemessage(entity this);
 
 void SetPlayerColors(entity player, float _color);
 
+/// \brief Kills player as a result of team change.
+/// \param[in,out] player Player to kill.
+/// \return No return.
+void KillPlayerForTeamChange(entity player);
+
 /// \brief Sets the team of the player.
 /// \param[in,out] player Player to adjust.
 /// \param[in] team_num Team number to set. See TEAM_NUM constants.