]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/cl_player.qc
Make sure that only the animation info of the normal player model is used, with a...
[voretournament/voretournament.git] / 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