1
0
forked from 0ad/0ad

Prevent chickens from spawning in the obstruction area of the civil centre.

This was SVN commit r12333.
This commit is contained in:
wraitii 2012-08-09 15:24:11 +00:00
parent 3ef639c4bc
commit ef55e60d9b

View File

@ -138,11 +138,11 @@ for (var i = 0; i < numPlayers; i++)
for (var j = 0; j < 2; ++j)
{
var aAngle = randFloat(0, TWO_PI);
var aDist = 7;
var aDist = 9;
var aX = round(fx + aDist * cos(aAngle));
var aZ = round(fz + aDist * sin(aAngle));
var group = new SimpleGroup(
[new SimpleObject(eChicken, 5,5, 0,3)],
[new SimpleObject(eChicken, 5,5, 0,2)],
true, clBaseResource, aX, aZ
);
createObjectGroup(group, 0);