changeset 1286:d8033eb56d7e

Слияние
author Ritor1
date Sat, 15 Jun 2013 23:58:32 +0600
parents 62f4cdaa726b (current diff) 89210052dbb4 (diff)
children 6bbd50bda571 dcc52e17b517
files mm7_2.cpp
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mm7_2.cpp	Sat Jun 15 23:58:19 2013 +0600
+++ b/mm7_2.cpp	Sat Jun 15 23:58:32 2013 +0600
@@ -9635,7 +9635,11 @@
     }
   }
   if ( v151 == OBJECT_BModel && PID_TYPE(v2->spell_caster_pid) != OBJECT_Player)
-    BYTE2(pActors[PID_ID(v2->spell_caster_pid)].uAttributes) |= 4u;
+      {
+      if (PID_ID(v2->spell_caster_pid)<500)  //bugfix  PID_ID(v2->spell_caster_pid)==1000
+         BYTE2(pActors[PID_ID(v2->spell_caster_pid)].uAttributes) |= 4;
+      }
+
   v6 = v2->uType;
   v7 = v2->uType;
   if ( v7 > 3060 )