]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Make sure that only the animation info of the normal player model is used, with a...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 19 Apr 2011 16:46:29 +0000 (19:46 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 19 Apr 2011 16:46:29 +0000 (19:46 +0300)
data/qcsrc/server/cl_player.qc

index 98f781fd967fd92b2469ab3d368a4a32cc0507ba..e282ed37e836a32238750c3469e776cd4bc29306 100644 (file)
@@ -249,7 +249,7 @@ void player_setupanimsformodel()
        self.anim_backright = '21 1 1';\r
        self.anim_backleft  = '22 1 1';\r
        animparseerror = FALSE;\r
-       animfilename = strcat(self.model, ".animinfo");\r
+       animfilename = strcat(self.playermodel, ".animinfo"); // only the normal player model may contain animation info\r
        animfile = fopen(animfilename, FILE_READ);\r
        if (animfile >= 0)\r
        {\r