Mercurial > mm7
diff mm7_4.cpp @ 1355:af2fc30d765f
Player::CanAct, Player::CanSteal shortened a bit
author | Grumpy7 |
---|---|
date | Sat, 13 Jul 2013 13:14:05 +0200 |
parents | 05becb008006 |
children | 61010a655c94 |
line wrap: on
line diff
--- a/mm7_4.cpp Sat Jul 13 13:12:21 2013 +0200 +++ b/mm7_4.cpp Sat Jul 13 13:14:05 2013 +0200 @@ -5497,13 +5497,13 @@ switch ( dword_F8B1AC_award_bit_number ) { case 19: - if ( pPlayers[uActiveCharacter]->GetProfessionOrGuildFlags(0x22u, 1) == 1 ) + if ( pPlayers[uActiveCharacter]->ProfessionOrGuildFlagsCorrect(0x22u, 1) == 1 ) { if ( !gold_transaction_amount ) goto LABEL_79; goto LABEL_42; } - if ( pPlayers[uActiveCharacter]->GetProfessionOrGuildFlags(0x1Au, 1) == 1 ) + if ( pPlayers[uActiveCharacter]->ProfessionOrGuildFlagsCorrect(0x1Au, 1) == 1 ) { if ( !gold_transaction_amount ) goto LABEL_79; @@ -5511,13 +5511,13 @@ } return v35; case 20: - if ( pPlayers[uActiveCharacter]->GetProfessionOrGuildFlags(0x23u, 1) == 1 ) + if ( pPlayers[uActiveCharacter]->ProfessionOrGuildFlagsCorrect(0x23u, 1) == 1 ) { if ( !gold_transaction_amount ) goto LABEL_79; goto LABEL_42; } - if ( pPlayers[uActiveCharacter]->GetProfessionOrGuildFlags(0x1Bu, 1) == 1 ) + if ( pPlayers[uActiveCharacter]->ProfessionOrGuildFlagsCorrect(0x1Bu, 1) == 1 ) { if ( !gold_transaction_amount ) goto LABEL_79;