mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
fixed slope issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1262 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
398e6b23cf
commit
2bc6beda82
1 changed files with 2 additions and 1 deletions
|
@ -247,7 +247,8 @@ qboolean PM_TestPlayerPosition (vec3_t pos)
|
|||
if (!hull->available || !hull->planes || !hull->clipnodes)
|
||||
hull = &pe->model->hulls[1];
|
||||
*/
|
||||
if (pe->model->funcs.Trace(pe->model, 0, 0, pos, pos, player_mins, player_maxs, &trace))
|
||||
pe->model->funcs.Trace(pe->model, 0, 0, pos, pos, player_mins, player_maxs, &trace);
|
||||
if (trace.allsolid)
|
||||
return false; //solid
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue