Mercurial > mm7
comparison Party.cpp @ 1172:d5dae0b4b98a
Слияние
author | Ritor1 |
---|---|
date | Fri, 24 May 2013 10:53:46 +0600 |
parents | b79139c3b5c8 |
children | a7e63532b9a8 |
comparison
equal
deleted
inserted
replaced
1171:28ee6610a3d2 | 1172:d5dae0b4b98a |
---|---|
852 { | 852 { |
853 v1 = abs(v0->vPosition.x - pParty->vPosition.x); | 853 v1 = abs(v0->vPosition.x - pParty->vPosition.x); |
854 v2 = abs(v0->vPosition.y - pParty->vPosition.y); | 854 v2 = abs(v0->vPosition.y - pParty->vPosition.y); |
855 v3 = abs(v0->vPosition.z - pParty->vPosition.z); | 855 v3 = abs(v0->vPosition.z - pParty->vPosition.z); |
856 if (int_get_vector_length(v1, v2, v3) < 512) | 856 if (int_get_vector_length(v1, v2, v3) < 512) |
857 Actor::Flee(v4, 4, 0, 0); | 857 Actor::AI_Flee(v4, 4, 0, 0); |
858 } | 858 } |
859 ++v4; | 859 ++v4; |
860 ++v0; | 860 ++v0; |
861 } | 861 } |
862 while ( (signed int)v4 < (signed int)uNumActors ); | 862 while ( (signed int)v4 < (signed int)uNumActors ); |