(retreat_ship1, retreat_land1): Simplify slightly.

This commit is contained in:
Markus Armbruster 2007-12-14 07:48:50 +00:00
parent cd41560fbc
commit 45b9d65129

View file

@ -215,7 +215,7 @@ retreat_ship1(struct shpstr *sp, char code, int orig)
return 0;
}
n = (-1 * MAX_RETREAT);
n = -MAX_RETREAT;
stopping = 0;
while (!stopping && n) {
dx = dy = 0;
@ -424,7 +424,7 @@ retreat_land1(struct lndstr *lp, char code, int orig)
return 0;
}
n = (-1 * MAX_RETREAT);
n = -MAX_RETREAT;
stopping = 0;
while (!stopping && n) {
dx = dy = 0;