changeset 1134:22a42961d349

Слияние
author Ritor1
date Fri, 24 May 2013 23:34:00 +0600
parents 5c6db175877e (diff) 6cbf4eb0f953 (current diff)
children 6b34a45a3983
files
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Vis.cpp	Fri May 24 16:58:43 2013 +0100
+++ b/Vis.cpp	Fri May 24 23:34:00 2013 +0600
@@ -972,7 +972,7 @@
 //----- (004C264A) --------------------------------------------------------
 void Vis::sort_object_pointers(Vis_ObjectInfo **pPointers, int left, int right)
 {
-  int v4; // edx@1
+  //int v4; // edx@1
   int v5; // ebx@1
   int v6; // esi@2
   signed int i; // ecx@2
@@ -983,14 +983,14 @@
   Vis *thisa; // [sp+4h] [bp-4h]@1
   Vis_ObjectInfo *a3a; // [sp+14h] [bp+Ch]@2
 
-  v4 = left;
+  //v4 = left;
   v5 = right;
   thisa = this;
   if ( right > left )
   {
     do
     {
-      v6 = v4 - 1;
+      v6 = left - 1;
       a3a = pPointers[v5];
       for ( i = v5; ; pPointers[i] = v11 )
       {
@@ -1020,8 +1020,8 @@
       v5 = right;
       pPointers[v6] = pPointers[right];
       pPointers[right] = v11;
-      sort_object_pointers(pPointers, v4, v6 - 1);
-      v4 = v6 + 1;
+      sort_object_pointers(pPointers, left, v6 - 1);
+      left = v6 + 1;
     }
     while ( right > v6 + 1 );
   }