(retreat_ship1, retreat_land1): Delete some code that had no effect.

This commit is contained in:
Markus Armbruster 2005-10-03 10:41:13 +00:00
parent 68d7cbd273
commit 300876a44d

View file

@ -229,7 +229,7 @@ retreat_ship1(struct shpstr *sp, s_char code, int orig)
time_to_stop = 0; time_to_stop = 0;
while (!stopping && n) { while (!stopping && n) {
dx = dy = 0; dx = dy = 0;
if (sp->shp_rpath[0] == 0 || sp->shp_rpath[0] == 0) { if (sp->shp_rpath[0] == 0) {
stopping = 1; stopping = 1;
continue; continue;
} }
@ -455,7 +455,7 @@ retreat_land1(struct lndstr *lp, s_char code, int orig)
time_to_stop = 0; time_to_stop = 0;
while (!stopping && n) { while (!stopping && n) {
dx = dy = 0; dx = dy = 0;
if (lp->lnd_rpath[0] == 0 || lp->lnd_rpath[0] == 0) { if (lp->lnd_rpath[0] == 0) {
stopping = 1; stopping = 1;
continue; continue;
} }