- if (!ent->v->velocity[0] && !ent->v->velocity[1] && !ent->v->velocity[2])
- break;
-
- for (i=0 ; i<3 ; i++)
- end[i] = ent->v->origin[i] + time_left * ent->v->velocity[i];
-
- trace = SV_Move (ent->v->origin, ent->v->mins, ent->v->maxs, end, MOVE_NORMAL, ent);
-
- /*
- if (trace.startsolid)
- {
- // LordHavoc: note: this code is what makes entities stick in place if embedded in another object (which can be the world)
- // entity is trapped in another solid
- VectorClear(ent->v->velocity);
- return 3;
- }
- */
-
- if (trace.fraction > 0)
- {
- // actually covered some distance
- VectorCopy (trace.endpos, ent->v->origin);
- VectorCopy (ent->v->velocity, original_velocity);
- numplanes = 0;
- }
+ // LordHavoc: note: this code is what makes entities stick in place if embedded in another object (which can be the world)
+ // entity is trapped in another solid
+ VectorClear(ent->v->velocity);
+ return 3;
+ }
+ */