e2m2-stuck-on-plat bug fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1447 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
cb7acda2dd
commit
08de916232
1 changed files with 3 additions and 5 deletions
|
@ -254,11 +254,8 @@ qboolean PM_TestPlayerPosition (vec3_t pos)
|
|||
continue;
|
||||
}
|
||||
#endif*/
|
||||
/* hull = &pe->model->hulls[pmove.hullnum];
|
||||
if (!hull->available || !hull->planes || !hull->clipnodes)
|
||||
hull = &pe->model->hulls[1];
|
||||
*/
|
||||
pe->model->funcs.Trace(pe->model, 0, 0, pos, pos, player_mins, player_maxs, &trace);
|
||||
|
||||
PM_TransformedHullCheck (pe->model, pos, pos, &trace, pe->origin, pe->angles);
|
||||
if (trace.allsolid)
|
||||
return false; //solid
|
||||
}
|
||||
|
@ -301,6 +298,7 @@ trace_t PM_PlayerTrace (vec3_t start, vec3_t end)
|
|||
{
|
||||
pe = &pmove.physents[i];
|
||||
|
||||
if (!pe->model)
|
||||
{
|
||||
vec3_t mins, maxs;
|
||||
VectorSubtract (pe->mins, player_maxs, mins);
|
||||
|
|
Loading…
Reference in a new issue