# HG changeset patch # User yoctozepto # Date 1377892397 -7200 # Node ID 6d21ef91cb2d9a7e31c255ff308b3a8f92fe7821 # Parent db0dfdb9871e437ed30785560c24809e913d37cd Rename LevelDecoration::_47A825 to LevelDecoration::IsObeliskChestActive(). diff -r db0dfdb9871e -r 6d21ef91cb2d Level/Decoration.cpp --- a/Level/Decoration.cpp Thu Aug 29 22:36:48 2013 +0200 +++ b/Level/Decoration.cpp Fri Aug 30 21:53:17 2013 +0200 @@ -114,7 +114,7 @@ } //----- (0047A825) -------------------------------------------------------- -bool LevelDecoration::_47A825() +bool LevelDecoration::IsObeliskChestActive() { //bool v1; // ebx@1 //LevelDecoration *v2; // edi@1 diff -r db0dfdb9871e -r 6d21ef91cb2d Level/Decoration.h --- a/Level/Decoration.h Thu Aug 29 22:36:48 2013 +0200 +++ b/Level/Decoration.h Fri Aug 30 21:53:17 2013 +0200 @@ -22,7 +22,7 @@ LevelDecoration(); int GetGlobalEvent(); bool IsInteractive(); - bool _47A825(); + bool IsObeliskChestActive(); uint16_t uDecorationDescID; diff -r db0dfdb9871e -r 6d21ef91cb2d Render.cpp --- a/Render.cpp Thu Aug 29 22:36:48 2013 +0200 +++ b/Render.cpp Fri Aug 30 21:53:17 2013 +0200 @@ -915,7 +915,7 @@ auto decor = &pLevelDecorations[i]; auto v0 = (char *)&pLevelDecorations[i].vPosition.y; - if ((!(decor->uFlags & LEVEL_DECORATION_OBELISK_CHEST) || decor->_47A825()) && !(decor->uFlags & LEVEL_DECORATION_INVISIBLE)) + if ((!(decor->uFlags & LEVEL_DECORATION_OBELISK_CHEST) || decor->IsObeliskChestActive()) && !(decor->uFlags & LEVEL_DECORATION_INVISIBLE)) { //v1 = &pDecorationList->pDecorations[decor->uDecorationDescID]; auto decor_desc = pDecorationList->pDecorations + decor->uDecorationDescID;