\r
void setanim(entity e, vector anim, float looping, float override, float restart)\r
{\r
- float n;\r
- n = tokenizebyseparator(self.model, ".");\r
- if(argv(1) == "md3")\r
+ // don't attempt to animate the stomach model\r
+ if(substring(self.model, strlen(self.model) - 8 - 4, 8) == "_stomach") // - 4 is the extension\r
return;\r
\r
if (anim_x == e.animstate_startframe)\r