From 588011943fe37bb7b93ea263dd0294ff7822eb67 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 16 Apr 2011 15:57:58 +0300 Subject: [PATCH] Same thing in player_setupanimsformodel(), to fix legacy animation issues --- data/qcsrc/server/cl_player.qc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/qcsrc/server/cl_player.qc b/data/qcsrc/server/cl_player.qc index 401c8082..3e6c69df 100644 --- a/data/qcsrc/server/cl_player.qc +++ b/data/qcsrc/server/cl_player.qc @@ -218,6 +218,10 @@ float player_getspecies() void player_setupanimsformodel() { + // if this is the stomach model (or any model that can't be animated), don't attempt to animate + if(substring(self.model, strlen(self.model) - 3, 3) == "md3") // check model extension + return; + local string animfilename; local float animfile; // defaults for legacy .zym models without animinfo files -- 2.39.2