]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge remote-tracking branch 'origin/terencehill/sv_defaultcharacter_fix', fixes...
authorRudolf Polzer <divverent@xonotic.org>
Wed, 4 Jun 2014 09:28:19 +0000 (11:28 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 4 Jun 2014 09:28:19 +0000 (11:28 +0200)
* origin/terencehill/sv_defaultcharacter_fix:
  Access sv_defaultplayer* cvars appending the untranslated team color string to them

qcsrc/server/cl_client.qc

index d06bc96bed3d933ca54e9d8c74c25917f9dcfa03..4ab1836e8c0e242828aa2b0e7cf470b1897ea71b 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));