diff mm7_2.cpp @ 322:ce39b96acf5c

Killing friendly peasants subs
author Nomad
date Wed, 20 Feb 2013 04:36:14 +0200
parents 2a09e1d6fc8f
children d720a13e2273 ead95219160c
line wrap: on
line diff
--- a/mm7_2.cpp	Wed Feb 20 03:35:22 2013 +0200
+++ b/mm7_2.cpp	Wed Feb 20 04:36:14 2013 +0200
@@ -8401,7 +8401,7 @@
         {
           v9 = abs(v19.vPosition.y - pOutdoor->pBModels[v8].vBoundingCenter.y);
           v10 = abs(v19.vPosition.x - pOutdoor->pBModels[v8].vBoundingCenter.x);
-          if ( sub_4621DA(v10, v9, 0) < pOutdoor->pBModels[v8].sBoundingRadius + 256 )
+          if ( int_get_vector_length(v10, v9, 0) < pOutdoor->pBModels[v8].sBoundingRadius + 256 )
             break;
           ++v23;
           ++v8;
@@ -11466,7 +11466,7 @@
 
 
 //----- (004621DA) --------------------------------------------------------
-int __fastcall sub_4621DA(signed int a1, signed int a2, signed int a3)
+int __fastcall int_get_vector_length(signed int a1, signed int a2, signed int a3)
 {
   signed int v3; // eax@2
   signed int v4; // eax@3