comparison Player.cpp @ 2334:ddb803517a48

unused local variables I commented
author Ritor1
date Wed, 02 Apr 2014 21:05:19 +0600
parents 9551756f46c4
children d6887ee81068
comparison
equal deleted inserted replaced
2333:82851980e3d8 2334:ddb803517a48
7923 signed int naturalArmor; // esi@1 7923 signed int naturalArmor; // esi@1
7924 signed int armorBuff; // edi@1 7924 signed int armorBuff; // edi@1
7925 int effectiveActorArmor; // esi@8 7925 int effectiveActorArmor; // esi@8
7926 int attBonus; // eax@9 7926 int attBonus; // eax@9
7927 int v9; // edx@11 7927 int v9; // edx@11
7928 unsigned __int8 v12; // sf@13 7928 // unsigned __int8 v12; // sf@13
7929 unsigned __int8 v13; // of@13 7929 // unsigned __int8 v13; // of@13
7930 int attPositiveMod; // edx@14 7930 int attPositiveMod; // edx@14
7931 int attNegativeMod; // eax@14 7931 int attNegativeMod; // eax@14
7932 signed int result; // eax@17 7932 // signed int result; // eax@17
7933 7933
7934 naturalArmor = pActor->pMonsterInfo.uAC; 7934 naturalArmor = pActor->pMonsterInfo.uAC;
7935 armorBuff = 0; 7935 armorBuff = 0;
7936 if ( pActor->pActorBuffs[ACTOR_BUFF_SOMETHING_THAT_HALVES_AC].uExpireTime > 0 ) 7936 if ( pActor->pActorBuffs[ACTOR_BUFF_SOMETHING_THAT_HALVES_AC].uExpireTime > 0 )
7937 naturalArmor /= 2; 7937 naturalArmor /= 2;
7963 7963
7964 7964
7965 //----- (0042ECB5) -------------------------------------------------------- 7965 //----- (0042ECB5) --------------------------------------------------------
7966 void Player::_42ECB5_PlayerAttacksActor() 7966 void Player::_42ECB5_PlayerAttacksActor()
7967 { 7967 {
7968 char *v5; // eax@8 7968 // char *v5; // eax@8
7969 unsigned int v9; // ecx@21 7969 // unsigned int v9; // ecx@21
7970 char *v11; // eax@26 7970 // char *v11; // eax@26
7971 unsigned int v12; // eax@47 7971 // unsigned int v12; // eax@47
7972 SoundID v24; // [sp-4h] [bp-40h]@58 7972 // SoundID v24; // [sp-4h] [bp-40h]@58
7973 7973
7974 //result = pParty->pPlayers[uActiveCharacter-1].CanAct(); 7974 //result = pParty->pPlayers[uActiveCharacter-1].CanAct();
7975 Player* player = &pParty->pPlayers[uActiveCharacter - 1]; 7975 Player* player = &pParty->pPlayers[uActiveCharacter - 1];
7976 if (!player->CanAct()) 7976 if (!player->CanAct())
7977 return; 7977 return;