From: MirceaKitsune Date: Sat, 16 Apr 2011 12:57:58 +0000 (+0300) Subject: Same thing in player_setupanimsformodel(), to fix legacy animation issues X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=588011943fe37bb7b93ea263dd0294ff7822eb67;p=voretournament%2Fvoretournament.git Same thing in player_setupanimsformodel(), to fix legacy animation issues --- 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