diff mm7_4.cpp @ 448:ee47cc585e1b

Слияние
author Ritor1
date Sat, 23 Feb 2013 23:46:20 +0600
parents 096c9a146ed0 55684f4eda73
children 9dc0dffaf7c6
line wrap: on
line diff
--- a/mm7_4.cpp	Sat Feb 23 23:45:50 2013 +0600
+++ b/mm7_4.cpp	Sat Feb 23 23:46:20 2013 +0600
@@ -14374,8 +14374,8 @@
             v4->uCurrentActionTime += pMiscTimer->uTimeElapsed;
             if ( (signed int)v4->uCurrentActionTime >= v5 )
             {
-              v17 = dword_4F6E08[v20];
-              v6 = Actor::GetDirectionInfo(8 * v20 | 3, v17, &a3, v2);
+              v17 = ai_near_actors_targets_pid[v20];
+              v6 = Actor::GetDirectionInfo(8 * v20 | OBJECT_Actor, v17, &a3, v2);
               v7 = v4->uAIState;
               memcpy(&v15, v6, sizeof(v15));
               v8 = v7 - 4;