comparison Sprites.cpp @ 1489:a27cdb3d753e

Cleanup of LevelDecoration and related.
author yoctozepto
date Thu, 29 Aug 2013 22:22:33 +0200
parents 7ef4b64f6329
children 7d986a396092
comparison
equal deleted inserted replaced
1488:f62e6d06acac 1489:a27cdb3d753e
751 { 751 {
752 v4 = *v3; 752 v4 = *v3;
753 if ( PID_TYPE(v4) == OBJECT_Decoration) 753 if ( PID_TYPE(v4) == OBJECT_Decoration)
754 { 754 {
755 v5 = &pLevelDecorations[(signed __int16)v4 >> 3]; 755 v5 = &pLevelDecorations[(signed __int16)v4 >> 3];
756 if ( !(v5->field_2 & 0x20) ) 756 if (!(v5->uFlags & LEVEL_DECORATION_INVISIBLE))
757 { 757 {
758 v6 = &pDecorationList->pDecorations[v5->uDecorationDescID]; 758 v6 = &pDecorationList->pDecorations[v5->uDecorationDescID];
759 if (!v6->CanMoveThrough()) 759 if (!v6->CanMoveThrough())
760 { 760 {
761 v7 = v6->uRadius; 761 v7 = v6->uRadius;