Improve clang-format
FossilOrigin-Name: 6f5dd506262655e5d3a6732794f955c8476b19a80fa03d5ebb6744ed8b18c963
This commit is contained in:
parent
f904d80214
commit
dd08a1069e
41 changed files with 506 additions and 493 deletions
|
@ -107,8 +107,8 @@ intersect(dynent *d, OFVector3D &from,
|
|||
}
|
||||
|
||||
return (p->x <= d->o.x + d->radius && p->x >= d->o.x - d->radius &&
|
||||
p->y <= d->o.y + d->radius && p->y >= d->o.y - d->radius &&
|
||||
p->z <= d->o.z + d->aboveeye && p->z >= d->o.z - d->eyeheight);
|
||||
p->y <= d->o.y + d->radius && p->y >= d->o.y - d->radius &&
|
||||
p->z <= d->o.z + d->aboveeye && p->z >= d->o.z - d->eyeheight);
|
||||
}
|
||||
|
||||
OFString *
|
||||
|
@ -269,7 +269,7 @@ moveprojectiles(float time)
|
|||
projdamage(player1, p, v, -1, -1, qdam);
|
||||
dvector &mv = getmonsters();
|
||||
loopv(mv) if (!vreject(mv[i]->o, v, 10.0f) &&
|
||||
mv[i] != p->owner)
|
||||
mv[i] != p->owner)
|
||||
projdamage(mv[i], p, v, -1, i, qdam);
|
||||
}
|
||||
if (p->inuse) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue