comparison Arcomage.cpp @ 949:c0d0656aa662

Awards
author Nomad
date Wed, 01 May 2013 20:04:24 +0200
parents 016e3577865c
children c45d51b3f4f4
comparison
equal deleted inserted replaced
948:5a2dbb00c399 949:c0d0656aa662
5708 _449B7E_toggle_bit(pParty->_quest_bits, 238, 1u); 5708 _449B7E_toggle_bit(pParty->_quest_bits, 238, 1u);
5709 v11 = (char *)pParty->pPlayers[0]._guilds_member_bits; 5709 v11 = (char *)pParty->pPlayers[0]._guilds_member_bits;
5710 do 5710 do
5711 { 5711 {
5712 if ( !(unsigned __int16)_449B57_test_bit((unsigned __int8 *)v11, 1) ) 5712 if ( !(unsigned __int16)_449B57_test_bit((unsigned __int8 *)v11, 1) )
5713 _449B7E_toggle_bit((unsigned char *)v11, 103, 1u); 5713 _449B7E_toggle_bit((unsigned char *)v11, PLAYER_GUILD_BITS__ARCOMAGE_WIN, 1);
5714 v11 += 6972; 5714 v11 += 6972;
5715 } 5715 }
5716 while ( (signed int)v11 < (signed int)((char *)&pParty->StandartItemsInShops[36] + 2) ); 5716 while ( (signed int)v11 < (signed int)((char *)&pParty->StandartItemsInShops[36] + 2) );
5717 ++pParty->field_874; 5717 ++pParty->uNumArcomageWins;
5718 if ( pParty->field_874 > 1000000 ) 5718 if ( pParty->uNumArcomageWins > 1000000 )
5719 pParty->field_874 = 1000000; 5719 pParty->uNumArcomageWins = 1000000;
5720 } 5720 }
5721 else 5721 else
5722 { 5722 {
5723 v12 = (char *)pParty->pPlayers[0]._guilds_member_bits; 5723 v12 = (char *)pParty->pPlayers[0]._guilds_member_bits;
5724 do 5724 do
5725 { 5725 {
5726 if ( !(unsigned __int16)_449B57_test_bit((unsigned __int8 *)v12, 1) ) 5726 if ( !(unsigned __int16)_449B57_test_bit((unsigned __int8 *)v12, 1) )
5727 _449B7E_toggle_bit((unsigned char *)v12, 104, 1u); 5727 _449B7E_toggle_bit((unsigned char *)v12, PLAYER_GUILD_BITS__ARCOMAGE_LOSE, 1);
5728 v12 += 6972; 5728 v12 += 6972;
5729 } 5729 }
5730 while ( (signed int)v12 < (signed int)((char *)&pParty->StandartItemsInShops[36] + 2) ); 5730 while ( (signed int)v12 < (signed int)((char *)&pParty->StandartItemsInShops[36] + 2) );
5731 ++pParty->field_878; 5731 ++pParty->uNumArcomageLoses;
5732 if ( pParty->field_878 > 1000000 ) 5732 if ( pParty->uNumArcomageLoses > 1000000 )
5733 pParty->field_878 = 1000000; 5733 pParty->uNumArcomageLoses = 1000000;
5734 } 5734 }
5735 return 0; 5735 return 0;
5736 } 5736 }
5737 5737
5738 5738