Mercurial > mm7
diff Chest.cpp @ 469:0dbf780e247f
CompareVariable part 1
author | Ritor1 |
---|---|
date | Mon, 25 Feb 2013 17:27:27 +0600 |
parents | 94546824edad |
children | cb0ad52d6a26 426682cf4a75 |
line wrap: on
line diff
--- a/Chest.cpp Mon Feb 25 11:10:57 2013 +0600 +++ b/Chest.cpp Mon Feb 25 17:27:27 2013 +0600 @@ -104,9 +104,9 @@ v31 = 813; v32 = 814; v5 = rand() % 4; - v6 = dword_5B5920 >> 3; + v6 = EvtTargetObj >> 3; v35 = v5; - if ( (dword_5B5920 & 7) == OBJECT_Decoration) + if ( (EvtTargetObj & 7) == OBJECT_Decoration) { v16 = v6; v14 = pLevelDecorations[v6].vPosition.x; @@ -116,11 +116,11 @@ } else { - if ( (dword_5B5920 & 7) != OBJECT_BModel) + if ( (EvtTargetObj & 7) != OBJECT_BModel) goto LABEL_12; if ( uCurrentlyLoadedLevelType == LEVEL_Outdoor) { - v7 = &pOutdoor->pBModels[dword_5B5920 >> 9].pFaces[(dword_5B5920 >> 3) & 0x3F]; + v7 = &pOutdoor->pBModels[EvtTargetObj >> 9].pFaces[(EvtTargetObj >> 3) & 0x3F]; v8 = v7->pBoundingBox.y1; v9 = v7->pBoundingBox.z2; v10 = v7->pBoundingBox.x1 + v7->pBoundingBox.x2;