mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-29 14:17:57 +03:00
Fixed a very boring mistake ignored by MSVC
This commit is contained in:
parent
ea14ab5664
commit
36af9e6589
1 changed files with 3 additions and 3 deletions
|
@ -1150,15 +1150,15 @@ void CM_TraceThroughTerrainCollide(traceWork_t *tw, terrainCollide_t *tc)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (tw->bounds[0][0] >= tc->vBounds[1][0] || tw->bounds[1][0] <= tc->vBounds[0][0]) {
|
if (tw->bounds[0][0] >= tc->vBounds[1][0] || tw->bounds[1][0] <= tc->vBounds[0][0]) {
|
||||||
return qfalse;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tw->bounds[0][1] >= tc->vBounds[1][1] || tw->bounds[1][1] <= tc->vBounds[0][1]) {
|
if (tw->bounds[0][1] >= tc->vBounds[1][1] || tw->bounds[1][1] <= tc->vBounds[0][1]) {
|
||||||
return qfalse;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tw->bounds[0][2] >= tc->vBounds[1][2] || tw->bounds[1][2] <= tc->vBounds[0][2]) {
|
if (tw->bounds[0][2] >= tc->vBounds[1][2] || tw->bounds[1][2] <= tc->vBounds[0][2]) {
|
||||||
return qfalse;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_trace.tw = tw;
|
g_trace.tw = tw;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue