Mercurial > mm7
changeset 1491:6d21ef91cb2d
Rename LevelDecoration::_47A825 to LevelDecoration::IsObeliskChestActive().
author | yoctozepto |
---|---|
date | Fri, 30 Aug 2013 21:53:17 +0200 |
parents | db0dfdb9871e |
children | 480b09200f88 |
files | Level/Decoration.cpp Level/Decoration.h Render.cpp |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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;
--- 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;