if not(other.cvar_chase_active || other.classname == "observer") // the observer check prevents a bug\r
if(other.predator == self || other.fakepredator == self)\r
{\r
- if(self.model != stomachmodel) // don't execute each frame\r
- {\r
- Client_setmodel(stomachmodel);\r
- self.alpha = other.cvar_cl_vore_stomachmodel;\r
- }\r
+ Client_setmodel(stomachmodel);\r
+ self.alpha = other.cvar_cl_vore_stomachmodel;\r
return TRUE;\r
}\r
\r
- if(self.model != setmodel_state()) // don't execute each frame\r
- {\r
- Client_setmodel(setmodel_state());\r
- if not(self.predator.classname == "player" || self.fakeprey)\r
- self.alpha = default_player_alpha;\r
- }\r
+ Client_setmodel(setmodel_state());\r
+ if not(self.predator.classname == "player" || self.fakeprey)\r
+ self.alpha = default_player_alpha;\r
return TRUE;\r
}\r
\r
if not(other.cvar_chase_active || other.classname == "observer") // the observer check prevents a bug\r
if(other.predator == self.owner || other.fakepredator == self.owner)\r
{\r
- if(self.model != "") // don't execute each frame\r
- {\r
- setmodel(self, "");\r
- }\r
+ setmodel(self, "");\r
return TRUE;\r
}\r
\r
- if(self.model != strcat("models/weapons/v_", self.owner.weaponname, ".md3")) // don't execute each frame\r
- {\r
- setmodel(self, strcat("models/weapons/v_", self.owner.weaponname, ".md3"));\r
- }\r
+ setmodel(self, strcat("models/weapons/v_", self.owner.weaponname, ".md3"));\r
return TRUE;\r
}\r
\r