Mercurial > might-and-magic-trilogy
diff Party.cpp @ 148:96ab6bba8408
Слияние
author | Ritor1 |
---|---|
date | Wed, 21 Nov 2012 09:26:49 +0600 |
parents | 1b7ca63e472e 9433939584e2 |
children | a8f4a158e284 |
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;