diff mm7_5.cpp @ 29:e62134245ab0

On BLV loading.
author Nomad
date Thu, 18 Oct 2012 03:18:04 +0200
parents be2066176d89
children e19e48280ca0
line wrap: on
line diff
--- a/mm7_5.cpp	Tue Oct 16 19:31:34 2012 +0200
+++ b/mm7_5.cpp	Thu Oct 18 03:18:04 2012 +0200
@@ -9965,7 +9965,7 @@
         v6 = (unsigned int *)&dword_4F6E08[(int)v4];
         Actor::_401221((unsigned int)v4, &dword_4F6E08[(int)v4], 1u);
         if ( v5->pMonsterInfo.uHostilityType && !*v6 )
-          v5->pMonsterInfo.uHostilityType = 0;
+          v5->pMonsterInfo.uHostilityType = MonsterInfo::Hostility_Friendly;
         v22 = *v6;
         v7 = Actor::GetDirectionInfo(8 * (int)v4 | 3, *v6, &a3, 0);
         v8 = v5->uActorRadius;
@@ -10015,7 +10015,7 @@
           if ( v11 ^ v12 )
           {
 LABEL_25:
-            v5->pMonsterInfo.uHostilityType = 4;
+            v5->pMonsterInfo.uHostilityType = MonsterInfo::Hostility_Long;
             goto LABEL_26;
           }
         }
@@ -10304,7 +10304,7 @@
   a2a = v8;
   Actor::_401221(v3, &dword_4F6E08[v3], 1u);
   if ( v4->pMonsterInfo.uHostilityType && !*v6 )
-    v4->pMonsterInfo.uHostilityType = 0;
+    v4->pMonsterInfo.uHostilityType = MonsterInfo::Hostility_Friendly;
   v9 = Actor::GetDirectionInfo(v7->uPackedID, a2a, &a3, 0);
   v10 = v4->uActorRadius;
   memcpy(&a3, v9, sizeof(a3));
@@ -10322,7 +10322,7 @@
     if ( (double)(signed int)v28 >= 307.2 )
       goto LABEL_21;
 LABEL_20:
-    v4->pMonsterInfo.uHostilityType = 4;
+    v4->pMonsterInfo.uHostilityType = MonsterInfo::Hostility_Long;
     goto LABEL_21;
   }
   if ( v12 == 2 )