From: MirceaKitsune Date: Tue, 19 Apr 2011 18:43:40 +0000 (+0300) Subject: Remove commented out code blocking the animation of stomach models, as this is part... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=451118dca702cecc499af931954c823a5e4dd533;p=voretournament%2Fvoretournament.git Remove commented out code blocking the animation of stomach models, as this is part of what was causing the animation issue. It sucks that this is back, but at least they don't attempt being animated each frame, and there's no more console spam. --- diff --git a/data/qcsrc/server/cl_player.qc b/data/qcsrc/server/cl_player.qc index e282ed37..a867cd5f 100644 --- a/data/qcsrc/server/cl_player.qc +++ b/data/qcsrc/server/cl_player.qc @@ -218,10 +218,6 @@ 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 @@ -292,10 +288,6 @@ void player_setupanimsformodel() void player_anim (void) { - // 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; - updateanim(self); if (self.weaponentity) updateanim(self.weaponentity);