]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Access sv_defaultplayer* cvars appending the untranslated team color string to them
authorterencehill <piuntn@gmail.com>
Sat, 15 Mar 2014 23:00:33 +0000 (00:00 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 15 Mar 2014 23:00:33 +0000 (00:00 +0100)
qcsrc/server/cl_client.qc

index 691c4930e995978bc50135e3185260b659fd6979..6ed39e6563c621756228bbf22c52b27cc3c428eb 100644 (file)
@@ -283,7 +283,7 @@ void FixPlayermodel()
                if(teamplay)
                {
                        string s;
-                       s = Team_ColorName_Lower(self.team);
+                       s = Static_Team_ColorName_Lower(self.team);
                        if(s != "neutral")
                        {
                                defaultmodel = cvar_string(strcat("sv_defaultplayermodel_", s));