stop movetype_toss+solid_trigger from touching themselves. this fixes lavaballs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5212 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
312d64bb4a
commit
04c14f4600
1 changed files with 2 additions and 0 deletions
|
@ -1897,6 +1897,8 @@ void World_TouchAllLinks (world_t *w, wedict_t *ent)
|
|||
continue;
|
||||
if (!touch->v->touch || touch->v->solid != SOLID_TRIGGER)
|
||||
continue;
|
||||
if (touch == ent)
|
||||
continue;
|
||||
|
||||
if (ent->v->absmin[0] > touch->v->absmax[0]
|
||||
|| ent->v->absmin[1] > touch->v->absmax[1]
|
||||
|
|
Loading…
Reference in a new issue