Cleanup (follow-up to 718e478)
* Visual Studio likes to add spaces, sometimes I don't agree
This commit is contained in:
parent
a021829cda
commit
207c67d72c
@ -1440,20 +1440,20 @@ int mob_randomwalk(struct mob_data *md,unsigned int tick)
|
||||
case 2:
|
||||
dy += d;
|
||||
if (dy > d) {
|
||||
dy -= d * 2 + 1;
|
||||
dy -= d*2+1;
|
||||
dx += d;
|
||||
if (dx > d) {
|
||||
dx -= d * 2 + 1;
|
||||
dx -= d*2+1;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
dy -= d;
|
||||
if (dy < -d) {
|
||||
dy += d * 2 + 1;
|
||||
dy += d*2+1;
|
||||
dx -= d;
|
||||
if (dx < -d) {
|
||||
dx += d * 2 + 1;
|
||||
dx += d*2+1;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user