From: Rudolf Polzer Date: Wed, 18 Sep 2013 09:43:11 +0000 (+0200) Subject: fix compile X-Git-Tag: xonotic-v0.8.0~325 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c46403828e0159586147c98a4e22b0059db6a641;p=xonotic%2Fxonotic-data.pk3dir.git fix compile --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 63632f38a..897e75663 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -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); }