diff mm7_2.cpp @ 520:35f28d4c0ff9

GlobalEventInfo changed to LevelDecoration* activeLevelDecoration
author Gloval
date Fri, 01 Mar 2013 23:43:21 +0400
parents 8f70e52646eb
children 61343380715b
line wrap: on
line diff
--- a/mm7_2.cpp	Fri Mar 01 22:18:22 2013 +0400
+++ b/mm7_2.cpp	Fri Mar 01 23:43:21 2013 +0400
@@ -4304,7 +4304,7 @@
     pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0;
   pKeyActionMap->_459ED1(3);
   pKeyActionMap->ResetKeys();
-  GlobalEventInfo = 0;
+  activeLevelDecoration = NULL;
   ptr_F8B1E8 = 0;
   if ( pDialogueNPCCount )
   {
@@ -15028,9 +15028,9 @@
         v10 = v8->_idx_in_stru123;
         v24 = 1;
         v11 = stru_5E4C90._decor_events[v10 - 75] + 380;
-        GlobalEventInfo = (int)v8;
+        activeLevelDecoration = v8;
         EventProcessor(v11, 0, 1);
-        GlobalEventInfo = 0;
+        activeLevelDecoration = NULL;
       }
       break;