comparison Outdoor.cpp @ 325:875ba5966ceb

Слияние
author Ritor1
date Wed, 20 Feb 2013 09:24:02 +0600
parents 72faa54ff319
children d720a13e2273
comparison
equal deleted inserted replaced
324:b7f0c5abca42 325:875ba5966ceb
3144 3144
3145 //----- (0044C1E8) -------------------------------------------------------- 3145 //----- (0044C1E8) --------------------------------------------------------
3146 bool ODMFace::HasEventHint() 3146 bool ODMFace::HasEventHint()
3147 { 3147 {
3148 signed int v1; // eax@1 3148 signed int v1; // eax@1
3149 Event *v2; // esi@2 3149 EventIndex *v2; // esi@2
3150 bool result; // eax@5 3150 bool result; // eax@5
3151 signed int v4; // eax@6 3151 signed int v4; // eax@6
3152 3152
3153 v1 = 0; 3153 v1 = 0;
3154 if ( (signed int)(uLevelEVT_NumEvents - 1) <= 0 ) 3154 if ( (signed int)(uLevelEVT_NumEvents - 1) <= 0 )
3155 goto LABEL_5; 3155 goto LABEL_5;
3156 v2 = pLevelEVT_Events; 3156 v2 = pLevelEVT_Index;
3157 while ( v2->uEventID != this->sCogTriggeredID ) 3157 while ( v2->uEventID != this->sCogTriggeredID )
3158 { 3158 {
3159 ++v1; 3159 ++v1;
3160 ++v2; 3160 ++v2;
3161 if ( v1 >= (signed int)(uLevelEVT_NumEvents - 1) ) 3161 if ( v1 >= (signed int)(uLevelEVT_NumEvents - 1) )
3162 goto LABEL_5; 3162 goto LABEL_5;
3163 } 3163 }
3164 v4 = v1; 3164 v4 = v1;
3165 if ( pLevelEVT[pLevelEVT_Events[v4 + 1].uEventOffsetInEVT + 4] != 1 3165 if ( pLevelEVT[pLevelEVT_Index[v4 + 1].uEventOffsetInEVT + 4] != 1
3166 || pLevelEVT[pLevelEVT_Events[v4].uEventOffsetInEVT + 4] != 4 ) 3166 || pLevelEVT[pLevelEVT_Index[v4].uEventOffsetInEVT + 4] != 4 )
3167 LABEL_5: 3167 LABEL_5:
3168 result = 0; 3168 result = 0;
3169 else 3169 else
3170 result = 1; 3170 result = 1;
3171 return result; 3171 return result;