game/server/server_physics.c
/*	Two entities have touched, so run their touch functions
*/
Two entities have touched, so run their touch functions
Two entities have touched so run their touch functions
void Physics_Impact(ServerEntity_t *eEntity,ServerEntity_t *eOther)
{
	if (eOther->v.movetype == MOVETYPE_NOCLIP)
		return;
	if(eEntity->v.TouchFunction && eEntity->Physics.iSolid != SOLID_NOT)
		eEntity->v.TouchFunction(eEntity,eOther);
	if(eOther->v.TouchFunction && eOther->Physics.iSolid != SOLID_NOT)
		eOther->v.TouchFunction(eOther,eEntity);
}
void Physics_Impact ( ServerEntity_t * eEntity , ServerEntity_t * eOther ) { if ( eOther -> v . movetype == MOVETYPE_NOCLIP ) return ; if ( eEntity -> v . TouchFunction && eEntity -> Physics . iSolid != SOLID_NOT ) eEntity -> v . TouchFunction ( eEntity , eOther ) ; if ( eOther -> v . TouchFunction && eOther -> Physics . iSolid != SOLID_NOT ) eOther -> v . TouchFunction ( eOther , eEntity ) ; }
Two entities have touched, so run their touch functions
Two entities have touched so run their touch functions
// Entities using noclip shouldn't "impact" anything.