diff mm7_1.cpp @ 520:35f28d4c0ff9

GlobalEventInfo changed to LevelDecoration* activeLevelDecoration
author Gloval
date Fri, 01 Mar 2013 23:43:21 +0400
parents cb0ad52d6a26
children 663c4f618f56
line wrap: on
line diff
--- a/mm7_1.cpp	Fri Mar 01 22:18:22 2013 +0400
+++ b/mm7_1.cpp	Fri Mar 01 23:43:21 2013 +0400
@@ -5244,9 +5244,9 @@
         if ( pLevelDecorations[(signed int)(unsigned __int16)v0 >> 3].IsInteractive() )
         {
           v15 = stru_5E4C90._decor_events[v13->_idx_in_stru123 - 75] + 380;
-          GlobalEventInfo = (int)&pLevelDecorations[(signed int)(unsigned __int16)v0 >> 3];
+          activeLevelDecoration = &pLevelDecorations[(signed int)(unsigned __int16)v0 >> 3];
           EventProcessor(v15, 0, 1);
-          GlobalEventInfo = 0;
+          activeLevelDecoration = NULL;
         }
         return;
       }