mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
Fixed some things.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1232 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
c6896ca186
commit
a355262f11
1 changed files with 3 additions and 3 deletions
|
@ -545,9 +545,9 @@ void CS_ClipToLinks ( areanode_t *node, moveclip_t *clip )
|
|||
return;
|
||||
if (clip->passedict)
|
||||
{
|
||||
if ((csqcedict_t*)PROG_TO_EDICT(svprogfuncs, touch->v->owner) == clip->passedict)
|
||||
if ((csqcedict_t*)PROG_TO_EDICT(csqcprogs, touch->v->owner) == clip->passedict)
|
||||
continue; // don't clip against own missiles
|
||||
if ((csqcedict_t*)PROG_TO_EDICT(svprogfuncs, clip->passedict->v->owner) == touch)
|
||||
if ((csqcedict_t*)PROG_TO_EDICT(csqcprogs, clip->passedict->v->owner) == touch)
|
||||
continue; // don't clip against owner
|
||||
}
|
||||
|
||||
|
@ -2126,7 +2126,7 @@ static void PF_cs_findradius (progfuncs_t *prinst, struct globalvars_s *pr_globa
|
|||
|
||||
for (i=1 ; i<sv.num_edicts ; i++)
|
||||
{
|
||||
ent = (void*)EDICT_NUM(svprogfuncs, i);
|
||||
ent = (void*)EDICT_NUM(prinst, i);
|
||||
if (ent->isfree)
|
||||
continue;
|
||||
if (ent->v->solid == SOLID_NOT)
|
||||
|
|
Loading…
Reference in a new issue