changeset 1379:db3769ae574c

m
author Ritor1
date Tue, 16 Jul 2013 14:11:35 +0600
parents 437d4ed49f26
children 635500df9320
files Indoor.cpp
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Indoor.cpp	Tue Jul 16 11:55:46 2013 +0600
+++ b/Indoor.cpp	Tue Jul 16 14:11:35 2013 +0600
@@ -6851,7 +6851,7 @@
   int v34; // eax@66
   int v35; // dx@66
   __int16 v36; // dx@67
-  __int16 v37; // di@67
+  //__int16 v37; // di@67
   __int16 v38; // dx@67
   int v46; // edx@87
   int v49; // esi@93
@@ -7025,9 +7025,9 @@
       if ( far_portal->viewport_left_side[v70] > far_portal->viewport_right_side[v70] )
       {
         v36 = far_portal->viewport_left_side[v70] ^ far_portal->viewport_right_side[v70];
-        v37 = far_portal->viewport_right_side[v70];
+        //v37 = far_portal->viewport_right_side[v70];
         far_portal->viewport_left_side[v70] = v36;
-        v38 = v37 ^ v36;
+        v38 = far_portal->viewport_right_side[v70] ^ v36;
         far_portal->viewport_left_side[v70] ^= v38;
         far_portal->viewport_right_side[v70] = v38;
       }
@@ -7064,7 +7064,7 @@
       break;
   }
   if ( min_y >= max_y )
-    return false;// incorect working portal faceID 1105(не доконца корректно работает портал фейс 1105 под определённым углом)
+    return false;// incorect working portal faceID 1105(не до конца корректно работает портал фейс 1105 под определённым углом)
   //*************************************************************************************************************************************
   v59 = min_y;
   for ( v46 = max_y - min_y + 1; v46; --v46 )
@@ -7078,9 +7078,9 @@
   far_portal->_viewport_space_y = min_y;
   far_portal->_viewport_space_w = max_y;
   far_portal->_viewport_space_x = far_portal->viewport_left_side[min_y];
+  far_portal->_viewport_space_z = far_portal->viewport_right_side[min_y];
   far_portal->_viewport_x_minID = min_y;
   far_portal->_viewport_z_maxID = min_y;
-  far_portal->_viewport_space_z = far_portal->viewport_right_side[min_y];
   v49 = min_y + 1;
   if ( v49 <= max_y )
   {