Mercurial > mm7
diff Outdoor.cpp @ 1489:a27cdb3d753e
Cleanup of LevelDecoration and related.
author | yoctozepto |
---|---|
date | Thu, 29 Aug 2013 22:22:33 +0200 |
parents | 7ef4b64f6329 |
children | 965af46e8793 |
line wrap: on
line diff
--- a/Outdoor.cpp Fri Aug 30 01:49:29 2013 +0600 +++ b/Outdoor.cpp Thu Aug 29 22:22:33 2013 +0200 @@ -2271,7 +2271,7 @@ //thisa = (int)&pLevelDecorations[0].field_2; //do //{ - memcpy(&pLevelDecorations[i].field_2, pSrc, 2); + memcpy(&pLevelDecorations[i].uFlags, pSrc, 2); pSrc += 2; //thisa += 32; //v85 = (char *)v85 + 2; @@ -2717,7 +2717,7 @@ _6807B8_level_decorations_ids[v5] = i; } if ( v8 && decor->uCog == 20 ) - decor->field_2 |= 0x0040u; + decor->uFlags |= LEVEL_DECORATION_OBELISK_CHEST; if ( !decor->field_16_event_id ) { if ( decor->IsInteractive() ) @@ -2727,7 +2727,7 @@ v6 = v1 + 75; decor->_idx_in_stru123 = v6; if ( !stru_5E4C90._decor_events[v1++] ) - decor->field_2 |= 0x0020u; + decor->uFlags |= LEVEL_DECORATION_INVISIBLE; } } }