comparison mm7_1.cpp @ 484:4bd56919f075

avard quest guild bits
author Gloval
date Wed, 27 Feb 2013 02:25:31 +0400
parents 0dbf780e247f
children 7887a9cf9e7b 511e3a6f587a 00ce82758c72
comparison
equal deleted inserted replaced
481:5b6e2021c6fe 484:4bd56919f075
3621 uRestUI_FoodRequiredToRest -= 2; 3621 uRestUI_FoodRequiredToRest -= 2;
3622 if ( CheckHiredNPCSpeciality(0x30u) ) 3622 if ( CheckHiredNPCSpeciality(0x30u) )
3623 --uRestUI_FoodRequiredToRest; 3623 --uRestUI_FoodRequiredToRest;
3624 if ( uRestUI_FoodRequiredToRest < 1 ) 3624 if ( uRestUI_FoodRequiredToRest < 1 )
3625 uRestUI_FoodRequiredToRest = 1; 3625 uRestUI_FoodRequiredToRest = 1;
3626 if ( !_strcmpi(pCurrentMapName, "d29.blv") && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 98) ) 3626 if ( !_strcmpi(pCurrentMapName, "d29.blv") && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 98) )
3627 uRestUI_FoodRequiredToRest = 0; 3627 uRestUI_FoodRequiredToRest = 0;
3628 ++pIcons_LOD->uTexturePacksCount; 3628 ++pIcons_LOD->uTexturePacksCount;
3629 if ( !pIcons_LOD->uNumPrevLoadedFiles ) 3629 if ( !pIcons_LOD->uNumPrevLoadedFiles )
3630 pIcons_LOD->uNumPrevLoadedFiles = pIcons_LOD->uNumLoadedFiles; 3630 pIcons_LOD->uNumPrevLoadedFiles = pIcons_LOD->uNumLoadedFiles;
3631 pCurrentScreen = SCREEN_REST; 3631 pCurrentScreen = SCREEN_REST;
5248 else 5248 else
5249 { 5249 {
5250 sprintf(pTmpBuf2, pGlobalTXT_LocalizationStrings[471], pItemsTable->pItems[v23].pUnidentifiedName); 5250 sprintf(pTmpBuf2, pGlobalTXT_LocalizationStrings[471], pItemsTable->pItems[v23].pUnidentifiedName);
5251 ShowStatusBarString(pTmpBuf2, 2u); 5251 ShowStatusBarString(pTmpBuf2, 2u);
5252 if ( v22->uItemID == 506 ) 5252 if ( v22->uItemID == 506 )
5253 _449B7E_toggle_bit(pParty->_award_bits, 184, 1u); 5253 _449B7E_toggle_bit(pParty->_quest_bits, 184, 1u);
5254 if ( v22->uItemID == 455 ) 5254 if ( v22->uItemID == 455 )
5255 _449B7E_toggle_bit(pParty->_award_bits, 185, 1u); 5255 _449B7E_toggle_bit(pParty->_quest_bits, 185, 1u);
5256 if ( !pParty->AddItem(v22) ) 5256 if ( !pParty->AddItem(v22) )
5257 pParty->SetHoldingItem(v22); 5257 pParty->SetHoldingItem(v22);
5258 } 5258 }
5259 LayingItem::OnItemPickup(a2.y); 5259 LayingItem::OnItemPickup(a2.y);
5260 return; 5260 return;