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 63632f3..897e756 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);
                }