This commit is contained in:
Regalis
2016-10-06 21:25:14 +03:00
parent 70b8bf1937
commit 16ee20aaaa

View File

@@ -757,7 +757,7 @@ namespace Barotrauma
int tries = 0;
do
{
Vector2 startPos = Level.Loaded.GetRandomInterestingPosition(true, spawnPosType);
Vector2 startPos = Level.Loaded.GetRandomInterestingPosition(true, spawnPosType, true);
startPos += Rand.Vector(Rand.Range(0.0f, randomSpread, false), false);