Minor fixes

Task_A2G: fixt GetAlt()
AI_Formation: fixed comma in equation
This commit is contained in:
funkyfranky
2018-07-17 22:19:25 +02:00
parent 72343bce29
commit c60bb29303
2 changed files with 2 additions and 2 deletions

View File

@@ -968,7 +968,7 @@ function AI_FORMATION:onenterFollowing( FollowGroupSet ) --R2.1
local Alpha_R = ( Alpha_T < 0 ) and Alpha_T + 2 * math.pi or Alpha_T
local Position = math.cos( Alpha_R )
local GD = ( ( GDv.x )^2 + ( GDv.z )^2 ) ^ 0.5
local Distance = GD * Position + - CS * 0,5
local Distance = GD * Position + - CS * 0.5
-- Calculate the group direction vector
local GV = { x = GV2.x - CV2.x, y = GV2.y - CV2.y, z = GV2.z - CV2.z }