Mercurial > mm7
diff Indoor.cpp @ 307:72faa54ff319
Events stuff moved to its file
author | Gloval |
---|---|
date | Wed, 20 Feb 2013 00:26:17 +0400 |
parents | af7e848d6def |
children | 6d584c95dcf8 |
line wrap: on
line diff
--- a/Indoor.cpp Tue Feb 19 15:40:11 2013 +0200 +++ b/Indoor.cpp Wed Feb 20 00:26:17 2013 +0400 @@ -3463,14 +3463,14 @@ int BLVFaceExtra::HasEventint() { signed int v1; // eax@1 - Event *v2; // esi@2 + EventIndex *v2; // esi@2 signed int result; // eax@5 signed int v4; // eax@6 v1 = 0; if ( (signed int)(uLevelEVT_NumEvents - 1) <= 0 ) goto LABEL_5; - v2 = pLevelEVT_Events; + v2 = pLevelEVT_Index; while ( v2->uEventID != this->uEventID ) { ++v1; @@ -3479,8 +3479,8 @@ goto LABEL_5; } v4 = v1; - if ( pLevelEVT[pLevelEVT_Events[v4 + 1].uEventOffsetInEVT + 4] != 1 - || pLevelEVT[pLevelEVT_Events[v4].uEventOffsetInEVT + 4] != 4 ) + if ( pLevelEVT[pLevelEVT_Index[v4 + 1].uEventOffsetInEVT + 4] != 1 + || pLevelEVT[pLevelEVT_Index[v4].uEventOffsetInEVT + 4] != 4 ) LABEL_5: result = 0; else