diff Outdoor.cpp @ 307:72faa54ff319

Events stuff moved to its file
author Gloval
date Wed, 20 Feb 2013 00:26:17 +0400
parents 96bc024a5fed
children d720a13e2273
line wrap: on
line diff
--- a/Outdoor.cpp	Tue Feb 19 15:40:11 2013 +0200
+++ b/Outdoor.cpp	Wed Feb 20 00:26:17 2013 +0400
@@ -3146,14 +3146,14 @@
 bool ODMFace::HasEventHint()
 {
   signed int v1; // eax@1
-  Event *v2; // esi@2
+  EventIndex *v2; // esi@2
   bool 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->sCogTriggeredID )
   {
     ++v1;
@@ -3162,8 +3162,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