diff mm7_3.cpp @ 322:ce39b96acf5c

Killing friendly peasants subs
author Nomad
date Wed, 20 Feb 2013 04:36:14 +0200
parents e41fe9cf3613
children d720a13e2273
line wrap: on
line diff
--- a/mm7_3.cpp	Wed Feb 20 03:35:22 2013 +0200
+++ b/mm7_3.cpp	Wed Feb 20 04:36:14 2013 +0200
@@ -6231,7 +6231,7 @@
   v19 = v4 * v6 - v3 * v21;
   v7 = abs(v4);
   v8 = abs(v3);
-  v9 = sub_4621DA(v8, v7, 0);
+  v9 = int_get_vector_length(v8, v7, 0);
   v10 = v14 * 188;
   v22 = v9;
   *v16 = 0;
@@ -14490,7 +14490,7 @@
       pY = pOutdoor->pBModels[v4].vBoundingCenter.y - v20;
       v5 = abs((signed)pY);
       v6 = abs((signed)pX);
-      v7 = sub_4621DA(v6, v5, v2);
+      v7 = int_get_vector_length(v6, v5, v2);
       v8 = &pOutdoor->pBModels[0];
       if ( v7 < 2 * pOutdoor->pBModels[v4].sBoundingRadius )
       {
@@ -14591,7 +14591,7 @@
       pY = *(int *)((char *)&pOutdoor->pBModels[v4].vBoundingCenter.y) - LODWORD(v19);
       v5 = abs((signed)pY);
       v6 = abs((signed)pX);
-      v7 = sub_4621DA(v6, v5, 0);
+      v7 = int_get_vector_length(v6, v5, 0);
       v8 = &pOutdoor->pBModels;
       if ( v7 < *(int *)((char *)&pOutdoor->pBModels[v4].sBoundingRadius) )
       {