diff mm7_3.cpp @ 153:86a2637ba125

UpdateActors
author Ritor1
date Tue, 12 Feb 2013 16:54:25 +0600
parents 796b79187c27
children 8e0e2991f9d1
line wrap: on
line diff
--- a/mm7_3.cpp	Tue Feb 12 15:28:36 2013 +0600
+++ b/mm7_3.cpp	Tue Feb 12 16:54:25 2013 +0600
@@ -959,7 +959,7 @@
   signed int v60; // eax@107
   int v61; // eax@124
   Vec3_int_ v62; // [sp+Ch] [bp-44h]@42
-  char v63; // [sp+18h] [bp-38h]@64
+  int v63; // [sp+18h] [bp-38h]@64
   int v64; // [sp+1Ch] [bp-34h]@64
   int v65; // [sp+20h] [bp-30h]@2
   int v66; // [sp+24h] [bp-2Ch]@2
@@ -1337,8 +1337,8 @@
       v70 = v0->vVelocity.z;
       v70 = (unsigned __int64)(v71 * (signed __int64)(signed int)v70) >> 16;
       ++v69;
-      v54 = __OFSUB__(v69, 100);
-      v10 = ((v69 - 100) & 0x80000000u) != 0;
+      v54 = v69 < 100;
+      v10 = (v69 - 100) < 0;
       v0->vVelocity.z = v70;
       if ( !(v10 ^ v54) )
         break;