diff stru6.cpp @ 869:715064ae1792

Слияние
author Ritor1
date Mon, 01 Apr 2013 09:05:51 +0600
parents ceef50611567
children abf7b7d2c8f7
line wrap: on
line diff
--- a/stru6.cpp	Mon Apr 01 09:05:31 2013 +0600
+++ b/stru6.cpp	Mon Apr 01 09:05:51 2013 +0600
@@ -832,7 +832,7 @@
       AddMobileLight(a2, 0xFF3C1E, 256);
       if (pRenderer->pRenderD3D)
       {
-        result = a2->spell_caster_pid & 7;
+        result = PID_TYPE(a2->spell_caster_pid);
         if (PID_TYPE(a2->spell_caster_pid) != OBJECT_Actor &&
             PID_TYPE(a2->spell_caster_pid) != OBJECT_Item)
         {