comparison Render.cpp @ 1491:6d21ef91cb2d

Rename LevelDecoration::_47A825 to LevelDecoration::IsObeliskChestActive().
author yoctozepto
date Fri, 30 Aug 2013 21:53:17 +0200
parents db0dfdb9871e
children 19890e50e2f6
comparison
equal deleted inserted replaced
1490:db0dfdb9871e 1491:6d21ef91cb2d
913 for (int i = 0; i < uNumLevelDecorations; ++i) 913 for (int i = 0; i < uNumLevelDecorations; ++i)
914 { 914 {
915 auto decor = &pLevelDecorations[i]; 915 auto decor = &pLevelDecorations[i];
916 auto v0 = (char *)&pLevelDecorations[i].vPosition.y; 916 auto v0 = (char *)&pLevelDecorations[i].vPosition.y;
917 917
918 if ((!(decor->uFlags & LEVEL_DECORATION_OBELISK_CHEST) || decor->_47A825()) && !(decor->uFlags & LEVEL_DECORATION_INVISIBLE)) 918 if ((!(decor->uFlags & LEVEL_DECORATION_OBELISK_CHEST) || decor->IsObeliskChestActive()) && !(decor->uFlags & LEVEL_DECORATION_INVISIBLE))
919 { 919 {
920 //v1 = &pDecorationList->pDecorations[decor->uDecorationDescID]; 920 //v1 = &pDecorationList->pDecorations[decor->uDecorationDescID];
921 auto decor_desc = pDecorationList->pDecorations + decor->uDecorationDescID; 921 auto decor_desc = pDecorationList->pDecorations + decor->uDecorationDescID;
922 v2 = decor_desc->uFlags; 922 v2 = decor_desc->uFlags;
923 if ( (char)v2 >= 0 ) 923 if ( (char)v2 >= 0 )