Mercurial > mm7
diff mm7_4.cpp @ 785:a821bbace194
m
author | Ritor1 |
---|---|
date | Sun, 24 Mar 2013 09:18:51 +0600 |
parents | 67b77b052ef3 |
children | da80bd2922df |
line wrap: on
line diff
--- a/mm7_4.cpp Sun Mar 24 00:32:13 2013 +0600 +++ b/mm7_4.cpp Sun Mar 24 09:18:51 2013 +0600 @@ -8779,9 +8779,9 @@ //v61 = (Player *)(unsigned __int8)*(&_4F0D38_TravelInfo[4 * (unsigned int)v22] + v62); // + 0x3F for sea travels, less for land v24 = v16->GetControl(v60); if ( v23 != v58 - && ((signed int)s1 >= 6 ? (v25 = 1) : (v25 = array_4F09B0[v23].pSchedule[pParty->uDaysPlayed % 7]), + && ((signed int)s1 >= 6 ? (v25 = 1) : (v25 = travel_schedule[v23].pSchedule[pParty->uDaysPlayed % 7]), v25 - && (array_4F09B0[v23].uQuestBit || _449B57_test_bit(pParty->_quest_bits, array_4F09B0[v23].uQuestBit))) ) + && (travel_schedule[v23].uQuestBit || _449B57_test_bit(pParty->_quest_bits, travel_schedule[v23].uQuestBit))) ) { v58 = v23; v27 = (const char *)v56; @@ -8789,7 +8789,7 @@ v27 = (const char *)v57; //v32.uRedbookTrackID = v27; sprintf(a1, "\f%05d", v27); - v66 = array_4F09B0[v23].uTravelTime; + v66 = travel_schedule[v23].uTravelTime; if ( (signed int)window_SpeakInHouse->ptr_1C >= 63 ) { if ( CheckHiredNPCSpeciality(Sailor) ) @@ -8812,7 +8812,7 @@ v66 = 1; if ( v23 != v2 ) { - memcpy(&v32, &pMapStats->pInfos[array_4F09B0[v23].uMapInfoID], 0x44u); + memcpy(&v32, &pMapStats->pInfos[travel_schedule[v23].uMapInfoID], 0x44u); sprintfex(pTmpBuf, pGlobalTXT_LocalizationStrings[404], // Time - %d days, destination %s v66, v32.pName); strcat(a1, pTmpBuf); @@ -8886,7 +8886,7 @@ } Party::TakeGold(s1); //v47[1] = (const char *)7; - v5 = &array_4F09B0[byte_4F0CD0[(unsigned int)window_SpeakInHouse->ptr_1C - 1][dialog_menu_id - 1]]; + v5 = &travel_schedule[byte_4F0CD0[(unsigned int)window_SpeakInHouse->ptr_1C - 1][dialog_menu_id - 1]]; if ( v5->pSchedule[pParty->uDaysPlayed % 7] ) { if ( _strcmpi(pCurrentMapName, pMapStats->pInfos[v5->uMapInfoID].pFilename) )