{\r
applymodel = strcat(substring(self.playermodel, 0, strlen(self.playermodel) - 4), "_stomach.md3"); // 4 is the extension length\r
Client_setmodel(applymodel);\r
+ self.frame = 0; // don't use any animations as a stomach\r
self.alpha = other.cvar_cl_vore_stomachmodel;\r
return TRUE;\r
}\r
\r
void player_anim (void)\r
{\r
+ // if this is the stomach model (or any model that can't be animated), don't attempt to animate\r
+ if(substring(self.model, strlen(self.model) - 3, 3) == "md3") // check model extension\r
+ return;\r
+\r
updateanim(self);\r
if (self.weaponentity)\r
updateanim(self.weaponentity);\r