diff mm7_4.cpp @ 435:4f451a616d3d

blv reloading fixed
author Nomad
date Sun, 24 Feb 2013 03:07:03 +0200
parents 137c59c3dbc4
children 0a1ea44b4a0a 5e5dfedcc0ad
line wrap: on
line diff
--- a/mm7_4.cpp	Sun Feb 24 01:42:35 2013 +0200
+++ b/mm7_4.cpp	Sun Feb 24 03:07:03 2013 +0200
@@ -260,7 +260,7 @@
   //BLVFace *v23; // eax@33
   //int v24; // esi@39
   //int v25; // edi@39
-  int v26; // esi@41
+  //int v26; // esi@41
   int v27; // ecx@43
   signed int v28; // eax@45
   int v29; // ebx@47
@@ -446,7 +446,7 @@
         v54 = 0;
         v51 = 0;
         v49 = word_721390[0] >= y;
-        if ( v26 > 0 )
+        if ( portal->uNumVertices > 0 )
         {
           do
           {
@@ -480,7 +480,8 @@
             ++v51;
             v49 = v47;
           }
-          while ( v51 < v26 );
+          while ( v51 < 2 * portal->uNumVertices );
+
           if ( v54 == 1 )
           {
             if ( v55 >= 50 )