summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/src/RandomSpawner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/src/RandomSpawner.cpp b/sim/src/RandomSpawner.cpp
index 8c401b2..7b85f21 100644
--- a/sim/src/RandomSpawner.cpp
+++ b/sim/src/RandomSpawner.cpp
@@ -25,7 +25,7 @@ Transform
RandomSpawner::get(const int team)
{
const double distance = distribution_d(device);
- const double clean_angle = angle_step * team;
+ const double clean_angle = M_PI + angle_step * team;
const double angle = clean_angle + distribution_a(device);
double facing = clean_angle + M_PI;
if (facing > 2 * M_PI)