Merge pull request #18 from ciribob/master

Fix for Vec3 related typo in groupRandomDistSelf
This commit is contained in:
mrSkortch
2015-10-14 23:08:24 -06:00
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -3924,7 +3924,7 @@ mist.groupRandomDistSelf = function(gpData, dist, form, heading, speed)
local pos = mist.getLeadPos(gpData)
local fakeZone = {}
fakeZone.radius = dist or math.random(300, 1000)
fakeZone.point = {x = pos.x, y, pos.y, z = pos.z}
fakeZone.point = {x = pos.x, y = pos.y, z = pos.z}
mist.groupToRandomZone(gpData, fakeZone, form, heading, speed)
return