void SV_PushMove (prvm_edict_t *pusher, float movetime)
{
int i, e, index;
+ int pusherowner, pusherprog;
int checkcontents;
qboolean rotated;
float savesolid, movetime2, pushltime;
return;
}
pushermodel = sv.models[index];
+ pusherowner = pusher->fields.server->owner;
+ pusherprog = PRVM_EDICT_TO_PROG(pusher);
rotated = VectorLength2(pusher->fields.server->angles) + VectorLength2(pusher->fields.server->avelocity) > 0;
|| check->fields.server->movetype == MOVETYPE_FAKEPUSH)
continue;
+ if (check->fields.server->owner == pusherprog)
+ continue;
+
+ if (pusherowner == PRVM_EDICT_TO_PROG(check))
+ continue;
+
//Con_Printf("%i %s ", PRVM_NUM_FOR_EDICT(check), PRVM_GetString(check->fields.server->classname));
// tell any MOVETYPE_STEP entity that it may need to check for water transitions