diff Events.cpp @ 2056:a35d173cd99c

Merge
author Ritor1
date Sat, 30 Nov 2013 20:09:04 +0600
parents 71a814f4482a
children f7e5b9f236ae
line wrap: on
line diff
--- a/Events.cpp	Sat Nov 30 20:08:51 2013 +0600
+++ b/Events.cpp	Sat Nov 30 20:09:04 2013 +0600
@@ -33,7 +33,7 @@
 #include "Log.h"
 #include "MM7.h"
 #include "Level/Decoration.h"
-#include "LuaClass.h"
+#include "LuaVM.h"
 
 
 
@@ -431,7 +431,7 @@
   dword_5B65C4_cancelEventProcessing = 0;
   if ( uEventID == 114 )
   {
-    if ( pMM_lua->DoFile("out01.lua") )
+    if (!lua->DoFile("out01.lua"))
       Log::Warning(L"Error opening out01.lua\n");
   }
   if ( !uEventID )