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
commit 40100072a8
3 changed files with 4 additions and 2 deletions

2
.gitattributes vendored
View File

@ -20,6 +20,8 @@
*.PDF diff=astextplain *.PDF diff=astextplain
*.rtf diff=astextplain *.rtf diff=astextplain
*.RTF diff=astextplain *.RTF diff=astextplain
*.txt eol=crlf
.gitattributes export-ignore .gitattributes export-ignore
.gitignore export-ignore .gitignore export-ignore

View File

@ -3924,7 +3924,7 @@ mist.groupRandomDistSelf = function(gpData, dist, form, heading, speed)
local pos = mist.getLeadPos(gpData) local pos = mist.getLeadPos(gpData)
local fakeZone = {} local fakeZone = {}
fakeZone.radius = dist or math.random(300, 1000) 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) mist.groupToRandomZone(gpData, fakeZone, form, heading, speed)
return return

View File

@ -3919,7 +3919,7 @@ mist.groupRandomDistSelf = function(gpData, dist, form, heading, speed)
local pos = mist.getLeadPos(gpData) local pos = mist.getLeadPos(gpData)
local fakeZone = {} local fakeZone = {}
fakeZone.radius = dist or math.random(300, 1000) 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) mist.groupToRandomZone(gpData, fakeZone, form, heading, speed)
return return