Fixed actors intersection check

This commit is contained in:
alexey.lysiuk 2016-01-21 16:21:09 +02:00
parent 65662a9cfa
commit f10dd68ca6
1 changed files with 1 additions and 1 deletions

View File

@ -881,7 +881,7 @@ public:
bool intersects(AActor *other) const
{
fixed_t blockdist = radius + other->radius;
return ( abs(X() - other->Y()) < blockdist && abs(Y() - other->Y()) < blockdist);
return ( abs(X() - other->X()) < blockdist && abs(Y() - other->Y()) < blockdist);
}
// 'absolute' is reserved for a linked portal implementation which needs