void monster_think(edict_t *self){ M_MoveFrame(self); if(self->linkcount != self->monsterinfo.linkcount){ self->monsterinfo.linkcount = self->linkcount; M_CheckGround(self); } M_CatagorizePosition(self); M_WorldEffects(self); M_SetEffects(self); }
void monster_think (edict_t *self) { M_MoveFrame (self); if (self->linkcount != self->monsterinfo.linkcount) { self->monsterinfo.linkcount = self->linkcount; M_CheckGround (self); } M_CatagorizePosition (self); M_WorldEffects (self); M_SetEffects (self); // decrease blindness if (self->monsterinfo.flashTime > 0) self->monsterinfo.flashTime--; }