comparison mm7_6.cpp @ 349:672b83584b0f

GetActorTintColor
author Nomad
date Thu, 21 Feb 2013 02:12:29 +0200
parents d720a13e2273
children 7f817679b60e
comparison
equal deleted inserted replaced
344:b7131c52cdd4 349:672b83584b0f
7684 goto LABEL_201; 7684 goto LABEL_201;
7685 } 7685 }
7686 v640 = v12 - 2; 7686 v640 = v12 - 2;
7687 if ( !v640 || (v641 = v640 - 1) == 0 || (amount = 4, v641 != 1) ) 7687 if ( !v640 || (v641 = v640 - 1) == 0 || (amount = 4, v641 != 1) )
7688 amount = 3; 7688 amount = 3;
7689 if ( pPlayer->uNumArmageddonCasts >= amount || pParty->field_1613C > v1 ) 7689 if ( pPlayer->uNumArmageddonCasts >= amount || pParty->armageddon_timer > v1 )
7690 goto LABEL_200; 7690 goto LABEL_200;
7691 if ( !pPlayer->CanCastSpell(uRequiredMana) ) 7691 if ( !pPlayer->CanCastSpell(uRequiredMana) )
7692 goto LABEL_83; 7692 goto LABEL_83;
7693 pParty->field_1613C = 256; 7693 pParty->armageddon_timer = 256;
7694 pParty->field_16140 = v2; 7694 pParty->field_16140 = v2;
7695 ++pPlayer->uNumArmageddonCasts; 7695 ++pPlayer->uNumArmageddonCasts;
7696 if ( pParty->bTurnBasedModeOn == 1 ) 7696 if ( pParty->bTurnBasedModeOn == 1 )
7697 ++pTurnEngine->field_1C; 7697 ++pTurnEngine->field_1C;
7698 v726 = (Player *)50; 7698 v726 = (Player *)50;