Con_Print("\n");
#endif
+#if 0
if (trace.bmodelstartsolid)
{
// LordHavoc: note: this code is what makes entities stick in place
VectorClear(ent->fields.server->velocity);
return 3;
}
+#endif
// break if it moved the entire distance
if (trace.fraction == 1)
Does not change the entities velocity at all
============
*/
-trace_t SV_PushEntity (prvm_edict_t *ent, vec3_t push, qboolean failonstartsolid)
+static trace_t SV_PushEntity (prvm_edict_t *ent, vec3_t push, qboolean failonbmodelstartsolid)
{
int type;
trace_t trace;
type = MOVE_NORMAL;
trace = SV_Move (ent->fields.server->origin, ent->fields.server->mins, ent->fields.server->maxs, end, type, ent);
- if (trace.startsolid && failonstartsolid)
+ if (trace.bmodelstartsolid && failonbmodelstartsolid)
return trace;
VectorCopy (trace.endpos, ent->fields.server->origin);