/* ================ G_RunMover ================ */ void G_RunMover( gentity_t *ent ) { // if not a team captain, don't do anything, because // the captain will handle everything if ( ent->flags & FL_TEAMSLAVE ) { return; } // if stationary at one of the positions, don't move anything if ( ent->s.pos.trType != TR_STATIONARY || ent->s.apos.trType != TR_STATIONARY ) { G_MoverTeam( ent ); } // check think function G_RunThink( ent ); }
void G_RunMover( gentity_t *ent ) { // if not a team captain, don't do anything, because // the captain will handle everything if ( ent->flags & FL_TEAMSLAVE ) { return; } // if stationary at one of the positions, don't move anything if ( ent->s.pos.trType != TR_STATIONARY || ent->s.apos.trType != TR_STATIONARY ) { //OSP: pause if ( level.pause.state == PAUSE_NONE ) G_MoverTeam( ent ); else ent->s.pos.trTime += level.time - level.previousTime; } // check think function G_RunThink( ent ); }