mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
Fix a rather silly snafu with smart-leak.
I blame this fever :P Now smart-leak actually makes sense.
This commit is contained in:
parent
45fd312133
commit
50b22ab163
1 changed files with 2 additions and 3 deletions
|
@ -209,10 +209,9 @@ MarkLeakTrail2 (void)
|
|||
for (i = 0; i < p2->winding->numpoints; i++)
|
||||
VectorAdd (wc, p2->winding->points[i], wc);
|
||||
VectorScale (wc, 1.0 / i, wc);
|
||||
if (first) {
|
||||
first = 0;
|
||||
if (!first)
|
||||
write_points(pwc, wc);
|
||||
}
|
||||
first = 0;
|
||||
VectorCopy(wc, pwc);
|
||||
}
|
||||
v = entities[n->occupied].origin;
|
||||
|
|
Loading…
Reference in a new issue