]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/teamplay.qh
Provisions for unit testing
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / teamplay.qh
index 5a2fe7b12e950322efd833c821d490f880b5d557..e24005a3211336bc53a8c082751df9bf82eeac74 100644 (file)
@@ -47,7 +47,7 @@ float TeamSmallerEqThanTeam(float ta, float tb, entity e);
 // NOTE: Assumes CheckAllowedTeams has already been called!
 float FindSmallestTeam(entity pl, float ignore_pl);
 
-float JoinBestTeam(entity pl, float only_return_best, float forcebestteam);
+int JoinBestTeam(entity pl, bool only_return_best, bool forcebestteam);
 
 //void() ctf_playerchanged;
 void SV_ChangeTeam(float _color);