mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +00:00
whitespace and {}s
This commit is contained in:
parent
24e80b21d4
commit
791232e6d3
1 changed files with 5 additions and 5 deletions
|
@ -829,13 +829,13 @@ PF_droptofloor (progs_t *pr)
|
||||||
VectorCopy (SVvector (ent, origin), end);
|
VectorCopy (SVvector (ent, origin), end);
|
||||||
end[2] -= 256;
|
end[2] -= 256;
|
||||||
|
|
||||||
trace =
|
trace = SV_Move (SVvector (ent, origin),
|
||||||
SV_Move (SVvector (ent, origin), SVvector (ent, mins), SVvector (ent, maxs), end, false,
|
SVvector (ent, mins),
|
||||||
ent);
|
SVvector (ent, maxs), end, false, ent);
|
||||||
|
|
||||||
if (trace.fraction == 1 || trace.allsolid)
|
if (trace.fraction == 1 || trace.allsolid) {
|
||||||
G_FLOAT (pr, OFS_RETURN) = 0;
|
G_FLOAT (pr, OFS_RETURN) = 0;
|
||||||
else {
|
} else {
|
||||||
VectorCopy (trace.endpos, SVvector (ent, origin));
|
VectorCopy (trace.endpos, SVvector (ent, origin));
|
||||||
SV_LinkEdict (ent, false);
|
SV_LinkEdict (ent, false);
|
||||||
SVfloat (ent, flags) = (int) SVfloat (ent, flags) | FL_ONGROUND;
|
SVfloat (ent, flags) = (int) SVfloat (ent, flags) | FL_ONGROUND;
|
||||||
|
|
Loading…
Reference in a new issue