Mercurial > mm7
comparison mm7_3.cpp @ 484:4bd56919f075
avard quest guild bits
author | Gloval |
---|---|
date | Wed, 27 Feb 2013 02:25:31 +0400 |
parents | 0dbf780e247f |
children | b6bdfaa3ae0f |
comparison
equal
deleted
inserted
replaced
481:5b6e2021c6fe | 484:4bd56919f075 |
---|---|
3171 { | 3171 { |
3172 //LOBYTE(pParty->uFlags) &= 0x7Fu; | 3172 //LOBYTE(pParty->uFlags) &= 0x7Fu; |
3173 bWaterWalk = 1; | 3173 bWaterWalk = 1; |
3174 *(short *)&stru_5E4C90._decor_events[20 * pParty->pPartyBuffs[18].uOverlayID + 119] |= 1u; | 3174 *(short *)&stru_5E4C90._decor_events[20 * pParty->pPartyBuffs[18].uOverlayID + 119] |= 1u; |
3175 if (!(pParty->pPartyBuffs[PARTY_BUFF_WATER_WALK].uFlags & 1) && | 3175 if (!(pParty->pPartyBuffs[PARTY_BUFF_WATER_WALK].uFlags & 1) && |
3176 pParty->pPlayers[pParty->pPartyBuffs[PARTY_BUFF_WATER_WALK].uCaster-1].sMana <= 0 )//*(int *)&pParty->pArtifactsFound[6972 * pParty->pPartyBuffs[18].uCaster + 10] <= 0 ) | 3176 pParty->pPlayers[pParty->pPartyBuffs[PARTY_BUFF_WATER_WALK].uCaster-1].sMana <= 0 ) |
3177 //*(int *)&pParty->pArtifactsFound[6972 * pParty->pPartyBuffs[18].uCaster + 10] <= 0 ) | |
3177 bWaterWalk = 0; | 3178 bWaterWalk = 0; |
3178 } | 3179 } |
3179 v3 = sub_46D49E_prolly_get_world_y_under_party(v116, v117, v123, pParty->uPartyHeight, &v130, &v108, bWaterWalk); | 3180 v3 = sub_46D49E_prolly_get_world_y_under_party(v116, v117, v123, pParty->uPartyHeight, &v130, &v108, bWaterWalk); |
3180 v111 = v3; | 3181 v111 = v3; |
3181 if ( bFeatherFall ) | 3182 if ( bFeatherFall ) |
7594 bool v1; // ebx@1 | 7595 bool v1; // ebx@1 |
7595 LevelDecoration *v2; // edi@1 | 7596 LevelDecoration *v2; // edi@1 |
7596 | 7597 |
7597 v1 = 0; | 7598 v1 = 0; |
7598 v2 = this; | 7599 v2 = this; |
7599 if ( pParty->uCurrentHour >= 1 || (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 178) ) | 7600 if ( pParty->uCurrentHour >= 1 || (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 178) ) |
7600 { | 7601 { |
7601 v1 = 0; | 7602 v1 = 0; |
7602 } | 7603 } |
7603 else | 7604 else |
7604 { | 7605 { |
7605 if ( (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 164) | 7606 if ( (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 164) |
7606 && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 165) | 7607 && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 165) |
7607 && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 166) | 7608 && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 166) |
7608 && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 167) | 7609 && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 167) |
7609 && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 168) | 7610 && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 168) |
7610 && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 169) | 7611 && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 169) |
7611 && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 170) | 7612 && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 170) |
7612 && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 171) | 7613 && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 171) |
7613 && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 172) | 7614 && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 172) |
7614 && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 173) | 7615 && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 173) |
7615 && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 174) | 7616 && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 174) |
7616 && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 175) | 7617 && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 175) |
7617 && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 176) | 7618 && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 176) |
7618 && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 177) ) | 7619 && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 177) ) |
7619 { | 7620 { |
7620 v1 = 1; | 7621 v1 = 1; |
7621 LOBYTE(v2->field_2) &= 0xDFu; | 7622 LOBYTE(v2->field_2) &= 0xDFu; |
7622 return v1; | 7623 return v1; |
7623 } | 7624 } |