Commit d86d1675 authored by VAN TOLL Wouter's avatar VAN TOLL Wouter
Browse files

Teleportation bugfix in WorldToric::DoStep_MoveAllAgents().

parent aafd9369
......@@ -83,9 +83,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_;
Supports Markdown
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