changeset 148:96ab6bba8408

Слияние
author Ritor1
date Wed, 21 Nov 2012 09:26:49 +0600
parents 1d44b914b7bd (current diff) 9433939584e2 (diff)
children 13b2a2cd4552
files Party.cpp
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/Party.cpp	Wed Nov 21 09:26:38 2012 +0600
+++ b/Party.cpp	Wed Nov 21 09:26:49 2012 +0600
@@ -287,9 +287,9 @@
   signed int uSpellBookPageCount; // edx@5
   int v7; // eax@5
   int uSkillIdx; // eax@11
-  unsigned __int8 v9; // zf@37
-  char v10; // sf@37
-  unsigned __int8 v11; // of@37
+  //unsigned __int8 v9; // zf@37
+  //char v10; // sf@37
+  //unsigned __int8 v11; // of@37
   char *pAttributes; // eax@38
   signed int v13; // ecx@38
   int uMaxSP; // eax@42
@@ -478,11 +478,11 @@
           }
         }
         uSkillIdx = v18 + 1;
-        v11 = uSkillIdx > 36;
-        v9 = v18 == 35;
-        v10 = uSkillIdx - 35 < 0;
+        //v11 = uSkillIdx > 36;
+        //v9 = v18 == 35;
+        //v10 = uSkillIdx - 35 < 0;
       }
-      while ( (unsigned __int8)(v10 ^ v11) | v9 );
+      while (uSkillIdx < 36);
       pAttributes = (char *)&pCharacter->pInventoryItems[0].uAttributes;
       //v13 = 138;
       for (v13 = 138; v13 > 0; --v13)
@@ -497,8 +497,8 @@
     pCharacter->sHealth = pCharacter->GetMaxHealth();
     pCharacter->sMana = pCharacter->GetMaxMana();
     pCharacter++;
-    v9 = uNumPlayers-- == 1;
-    if ( v9 )
+    uNumPlayers--;
+    if (!uNumPlayers)
       break;
     pResMagicBase = (int)pCharacter;
     v3 = 10;