Starting inside a bbox no longer traps a player.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@118 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
dfa6f1398a
commit
8784e698e3
1 changed files with 4 additions and 0 deletions
|
@ -326,7 +326,11 @@ trace_t PM_PlayerTrace (vec3_t start, vec3_t end)
|
||||||
if (trace.allsolid)
|
if (trace.allsolid)
|
||||||
trace.startsolid = true;
|
trace.startsolid = true;
|
||||||
if (trace.startsolid)
|
if (trace.startsolid)
|
||||||
|
{
|
||||||
|
if (!pmove.physents[i].model) //caught inside annother model
|
||||||
|
continue; //don't count this.
|
||||||
trace.fraction = 0;
|
trace.fraction = 0;
|
||||||
|
}
|
||||||
|
|
||||||
// did we clip the move?
|
// did we clip the move?
|
||||||
if (trace.fraction < total.fraction)
|
if (trace.fraction < total.fraction)
|
||||||
|
|
Loading…
Reference in a new issue