diff 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
line wrap: on
line diff
--- a/mm7_1.cpp	Tue Feb 26 17:24:53 2013 +0600
+++ b/mm7_1.cpp	Wed Feb 27 02:25:31 2013 +0400
@@ -3623,7 +3623,7 @@
     --uRestUI_FoodRequiredToRest;
   if ( uRestUI_FoodRequiredToRest < 1 )
     uRestUI_FoodRequiredToRest = 1;
-  if ( !_strcmpi(pCurrentMapName, "d29.blv") && (unsigned __int16)_449B57_test_bit(pParty->_award_bits, 98) )
+  if ( !_strcmpi(pCurrentMapName, "d29.blv") && (unsigned __int16)_449B57_test_bit(pParty->_quest_bits, 98) )
     uRestUI_FoodRequiredToRest = 0;
   ++pIcons_LOD->uTexturePacksCount;
   if ( !pIcons_LOD->uNumPrevLoadedFiles )
@@ -5250,9 +5250,9 @@
         sprintf(pTmpBuf2, pGlobalTXT_LocalizationStrings[471], pItemsTable->pItems[v23].pUnidentifiedName);
         ShowStatusBarString(pTmpBuf2, 2u);
         if ( v22->uItemID == 506 )
-          _449B7E_toggle_bit(pParty->_award_bits, 184, 1u);
+          _449B7E_toggle_bit(pParty->_quest_bits, 184, 1u);
         if ( v22->uItemID == 455 )
-          _449B7E_toggle_bit(pParty->_award_bits, 185, 1u);
+          _449B7E_toggle_bit(pParty->_quest_bits, 185, 1u);
         if ( !pParty->AddItem(v22) )
           pParty->SetHoldingItem(v22);
       }