From: MirceaKitsune Date: Tue, 19 Apr 2011 16:46:29 +0000 (+0300) Subject: Make sure that only the animation info of the normal player model is used, with a... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9109dc44350b48e3924e7749634f30b188a7de4a;p=voretournament%2Fvoretournament.git Make sure that only the animation info of the normal player model is used, with a harmless extra check. --- diff --git a/data/qcsrc/server/cl_player.qc b/data/qcsrc/server/cl_player.qc index 98f781fd..e282ed37 100644 --- a/data/qcsrc/server/cl_player.qc +++ b/data/qcsrc/server/cl_player.qc @@ -249,7 +249,7 @@ void player_setupanimsformodel() self.anim_backright = '21 1 1'; self.anim_backleft = '22 1 1'; animparseerror = FALSE; - animfilename = strcat(self.model, ".animinfo"); + animfilename = strcat(self.playermodel, ".animinfo"); // only the normal player model may contain animation info animfile = fopen(animfilename, FILE_READ); if (animfile >= 0) {