changeset 1133:5c6db175877e

m
author Ritor1
date Fri, 24 May 2013 23:33:50 +0600
parents 0e0f1192aa57
children 22a42961d349
files Vis.cpp
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Vis.cpp	Fri May 24 00:53:48 2013 +0600
+++ b/Vis.cpp	Fri May 24 23:33:50 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 );
   }