# HG changeset patch # User Ritor1 # Date 1373962295 -21600 # Node ID db3769ae574c2bdfe2f788bb4c9b0ccda42b801e # Parent 437d4ed49f261c37c27c457fd6c4f6725bc17664 m diff -r 437d4ed49f26 -r db3769ae574c Indoor.cpp --- 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 ) {