diff Vis.cpp @ 1174:05247ad19710

Слияние
author Ritor1
date Fri, 31 May 2013 09:54:44 +0600
parents 0158f383b492 39eaa6b00141
children dac817fbf85a
line wrap: on
line diff
--- a/Vis.cpp	Fri May 31 09:54:33 2013 +0600
+++ b/Vis.cpp	Fri May 31 09:54:44 2013 +0600
@@ -485,7 +485,7 @@
   Vis *thisa; // [sp+68h] [bp-8h]@1
   RenderVertexSoft *v15; // [sp+6Ch] [bp-4h]@2
 
-  result = a4;
+  result = a4 != 0;
   thisa = this;
   if ( a4 > a3 )
   {
@@ -635,7 +635,7 @@
   {
     if ( v16 >= 2 )
       break;
-    if ( v6 ^ intersect_face_vertex_coords_list_b[i + 1] >= b )
+    if ( v6 ^ (intersect_face_vertex_coords_list_b[i + 1] >= b) )
     {
       if ( intersect_face_vertex_coords_list_a[i + 1] >= a )
         v10 = 0;