]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix compile
authorRudolf Polzer <divverent@xonotic.org>
Wed, 18 Sep 2013 09:43:11 +0000 (11:43 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 18 Sep 2013 09:43:11 +0000 (11:43 +0200)
qcsrc/server/cl_client.qc

index 63632f38af0103d256637f53b063b087dde1e79a..897e75663222288ded40b364111c0f0ea2253319 100644 (file)
@@ -301,7 +301,7 @@ void FixPlayermodel()
                        defaultmodel = argv(floor(n * self.model_randomizer));
                        // However, do NOT randomize if the player-selected model is in the list.
                        for (i = 0; i < n; ++i)
-                               if ((argv(i) == self.playermodel && defaultskin == self.playerskin) || argv(i) == strcat(self.playermodel, ":", ftos(self.playerskin)))
+                               if ((argv(i) == self.playermodel && defaultskin == stof(self.playerskin)) || argv(i) == strcat(self.playermodel, ":", self.playerskin))
                                        defaultmodel = argv(i);
                }