From 4609e3fc3cb917782bcb7a22a0b2c5d73cd0cf7b Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Sat, 26 Nov 2016 18:10:25 +0100 Subject: [PATCH] Made the loader not go in a straight line --- src/iieLoadSaveEntireWorld/LoadProcess.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/iieLoadSaveEntireWorld/LoadProcess.java b/src/iieLoadSaveEntireWorld/LoadProcess.java index 4e9aa7f..cf14f0f 100644 --- a/src/iieLoadSaveEntireWorld/LoadProcess.java +++ b/src/iieLoadSaveEntireWorld/LoadProcess.java @@ -83,14 +83,16 @@ public class LoadProcess implements Runnable d = 0; D++; switch (c){ - case 1 : currentRegion[0]++; - case 2 : currentRegion[1]++; - case 3 : currentRegion[0]--; + case 1 : currentRegion[0]++; break; + case 2 : currentRegion[1]++; break; + case 3 : currentRegion[0]--; break; case 4 : currentRegion[1]--; c = B ? 1 : c + 1; + break; } B = !B; + c++; } } final boolean isFinished(){