diff mm7_4.cpp @ 924:a78f08dbeb88

CastSpellInfo
author Ritor1
date Wed, 01 May 2013 14:50:52 +0600
parents ae9e2a339b09
children ae747684f644
line wrap: on
line diff
--- a/mm7_4.cpp	Tue Apr 30 20:08:42 2013 +0600
+++ b/mm7_4.cpp	Wed May 01 14:50:52 2013 +0600
@@ -43,7 +43,7 @@
 #include "FactionTable.h"
 #include "StorylineTextTable.h"
 #include "Random.h"
-#include "stru277.h"
+#include "CastSpellInfo.h"
 #include "stru298.h"
 #include "stru12.h"
 #include "stru351.h"
@@ -2103,7 +2103,7 @@
       else
       {
         v11 = &pObjectList->pObjects->uObjectID;
-        while ( stru_4E3ACC[8].field_0 != *v11 )
+        while ( stru_4E3ACC[8].uType != *v11 )
         {
           ++v10;
           v11 += 28;