1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2018-02-11 05:37:11 +00:00
parent 312d64bb4a
commit 04c14f4600

View file

@ -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]