mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
fix issue introduced in e5ef665e:Use more short code in *EdgeSearch
This commit is contained in:
parent
27cbd0d4e7
commit
cf4887c4ba
1 changed files with 3 additions and 1 deletions
|
@ -419,8 +419,10 @@ R_LeadingEdgeSearch (edge_t *edge, surf_t *surf, surf_t *surf2)
|
|||
testzi = surf2->d_ziorigin + fv*surf2->d_zistepv +
|
||||
fu*surf2->d_zistepu;
|
||||
|
||||
if (newzibottom < testzi)
|
||||
if (newzibottom >= testzi)
|
||||
{
|
||||
return surf2;
|
||||
}
|
||||
|
||||
newzitop = newzi * 1.01;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue