diff Events.cpp @ 2331:9551756f46c4

Moving functions out of mm7_6.cpp into appropriate classes as static methods or free functions
author Grumpy7
date Wed, 02 Apr 2014 01:21:05 +0200
parents fd788d2e9585
children ddb803517a48
line wrap: on
line diff
--- a/Events.cpp	Tue Apr 01 23:44:27 2014 +0200
+++ b/Events.cpp	Wed Apr 02 01:21:05 2014 +0200
@@ -12,6 +12,7 @@
 #include "Render.h"
 #include "GUIWindow.h"
 #include "GUIProgressBar.h"
+#include "SpriteObject.h"
 #include "Chest.h"
 #include "stru176.h"
 #include "LOD.h"
@@ -758,7 +759,7 @@
         ++curr_seq_num;
         break;
       case EVENT_SummonItem:
-        sub_42F7EB_DropItemAt(_evt->v5 + ((_evt->v6 + ((_evt->v7 + ((uint)_evt->v8 << 8)) << 8)) << 8),
+        SpriteObject::sub_42F7EB_DropItemAt(_evt->v5 + ((_evt->v6 + ((_evt->v7 + ((uint)_evt->v8 << 8)) << 8)) << 8),
           _evt->v9 + ((_evt->v10 + ((_evt->v11 + ((uint)_evt->v12 << 8)) << 8)) << 8),
           _evt->v13 + ((_evt->v14 + ((_evt->v15 + ((uint)_evt->v16 << 8)) << 8)) << 8),
           _evt->v17 + ((_evt->v18 + ((_evt->v19 + ((uint)_evt->v20 << 8)) << 8)) << 8),