changeset 1807:04b92ce868e3

m
author Ritor1
date Mon, 07 Oct 2013 09:31:18 +0600
parents 0c4d3c6a9d5a
children 4002c0fe5efc
files mm7_4.cpp
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mm7_4.cpp	Fri Oct 04 17:30:47 2013 +0600
+++ b/mm7_4.cpp	Mon Oct 07 09:31:18 2013 +0600
@@ -123,11 +123,10 @@
   v31 = v4;
   v39 = 1;
   dword_720F20[0] = 10000;
-  v32 = 0;
   if ( (signed int)pOutdoor->uNumBModels > 0 )
   {
     v29 = 0;
-    do
+    for ( v32 = 0; v32 < (signed int)pOutdoor->uNumBModels; ++v32 )
     {
       v6 = &pOutdoor->pBModels[v29];
       if ( v4 <= pOutdoor->pBModels[v29].sMaxX )
@@ -239,11 +238,11 @@
           }
         }
       }
-      ++v32;
+      //++v32;
       ++v29;
       v5 = 0;
     }
-    while ( v32 < (signed int)pOutdoor->uNumBModels );
+    //while ( v32 < (signed int)pOutdoor->uNumBModels );
     if ( !v39 )
     {
       *(int *)a4 = 0;