Commit c6f7ee61 authored by VAN TOLL Wouter's avatar VAN TOLL Wouter

Merge branch 'master' into GUI

parents ac76d7bc d86d1675
......@@ -86,9 +86,9 @@ void WorldToric::DoStep_MoveAllAgents()
x -= width_;
else if (x < -halfWidth)
x += width_;
if (y > halfWidth)
if (y > halfHeight)
y -= height_;
else if (y < -halfWidth)
else if (y < -halfHeight)
y += height_;
agent->setPosition(Vector2D(x,y));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment