Mercurial > mm7
diff mm7_2.cpp @ 1736:c6fe09a06712
Player::CompareVariable finished, renamed stru_5E4C90 to stru_5E4C90_MapPersistVars, party::field_4A0 to party::CounterEventValues
author | Grumpy7 |
---|---|
date | Fri, 27 Sep 2013 10:04:45 +0200 |
parents | 7153ee05d088 |
children | cecb080929c4 |
line wrap: on
line diff
--- a/mm7_2.cpp Thu Sep 26 08:09:05 2013 +0200 +++ b/mm7_2.cpp Fri Sep 27 10:04:45 2013 +0200 @@ -1740,7 +1740,7 @@ //----- (00450AAA) -------------------------------------------------------- void RespawnGlobalDecorations() { - memset(stru_5E4C90._decor_events, 0, 125); + memset(stru_5E4C90_MapPersistVars._decor_events, 0, 125); uint decorEventIdx = 0; for (uint i = 0; i < uNumLevelDecorations; ++i) @@ -1754,7 +1754,7 @@ if (decorEventIdx < 124) { decor->_idx_in_stru123 = decorEventIdx + 75; - stru_5E4C90._decor_events[decorEventIdx++] = decor->GetGlobalEvent(); + stru_5E4C90_MapPersistVars._decor_events[decorEventIdx++] = decor->GetGlobalEvent(); } } } @@ -5965,7 +5965,7 @@ return v19; } if ( v25->IsInteractive() ) - v24 = pNPCTopics[stru_5E4C90._decor_events[v26->_idx_in_stru123 - 75] + 379].pTopic; + v24 = pNPCTopics[stru_5E4C90_MapPersistVars._decor_events[v26->_idx_in_stru123 - 75] + 379].pTopic; else v24 = pDecorationList->pDecorations[v26->uDecorationDescID].field_20; GameUI_SetFooterString(v24);