Cleanup (follow-up to 718e478)

* Visual Studio likes to add spaces, sometimes I don't agree
This commit is contained in:
Playtester 2016-03-18 20:17:01 +01:00
parent a021829cda
commit 207c67d72c

View File

@ -1440,20 +1440,20 @@ int mob_randomwalk(struct mob_data *md,unsigned int tick)
case 2: case 2:
dy += d; dy += d;
if (dy > d) { if (dy > d) {
dy -= d * 2 + 1; dy -= d*2+1;
dx += d; dx += d;
if (dx > d) { if (dx > d) {
dx -= d * 2 + 1; dx -= d*2+1;
} }
} }
break; break;
case 3: case 3:
dy -= d; dy -= d;
if (dy < -d) { if (dy < -d) {
dy += d * 2 + 1; dy += d*2+1;
dx -= d; dx -= d;
if (dx < -d) { if (dx < -d) {
dx += d * 2 + 1; dx += d*2+1;
} }
} }
break; break;