# HG changeset patch # User Gloval # Date 1371317013 -14400 # Node ID 89210052dbb43a8e32a61fc4a28824a92159136f # Parent 34c433886ed435edac5cef786ae4343c5ae701ed bugfix PID_ID(v2->spell_caster_pid)==1000 diff -r 34c433886ed4 -r 89210052dbb4 mm7_2.cpp --- a/mm7_2.cpp Sat Jun 15 12:33:13 2013 +0100 +++ b/mm7_2.cpp Sat Jun 15 21:23:33 2013 +0400 @@ -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 )