Mercurial > mm7
diff Sprites.cpp @ 1489:a27cdb3d753e
Cleanup of LevelDecoration and related.
author | yoctozepto |
---|---|
date | Thu, 29 Aug 2013 22:22:33 +0200 |
parents | 7ef4b64f6329 |
children | 7d986a396092 |
line wrap: on
line diff
--- a/Sprites.cpp Fri Aug 30 01:49:29 2013 +0600 +++ b/Sprites.cpp Thu Aug 29 22:22:33 2013 +0200 @@ -753,7 +753,7 @@ if ( PID_TYPE(v4) == OBJECT_Decoration) { v5 = &pLevelDecorations[(signed __int16)v4 >> 3]; - if ( !(v5->field_2 & 0x20) ) + if (!(v5->uFlags & LEVEL_DECORATION_INVISIBLE)) { v6 = &pDecorationList->pDecorations[v5->uDecorationDescID]; if (!v6->CanMoveThrough())