From 300876a44d9368e211feadf9762c85a9c0b24ffa Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Mon, 3 Oct 2005 10:41:13 +0000 Subject: [PATCH] (retreat_ship1, retreat_land1): Delete some code that had no effect. --- src/lib/subs/retreat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/subs/retreat.c b/src/lib/subs/retreat.c index 94652eca..5a43aab8 100644 --- a/src/lib/subs/retreat.c +++ b/src/lib/subs/retreat.c @@ -229,7 +229,7 @@ retreat_ship1(struct shpstr *sp, s_char code, int orig) time_to_stop = 0; while (!stopping && n) { dx = dy = 0; - if (sp->shp_rpath[0] == 0 || sp->shp_rpath[0] == 0) { + if (sp->shp_rpath[0] == 0) { stopping = 1; continue; } @@ -455,7 +455,7 @@ retreat_land1(struct lndstr *lp, s_char code, int orig) time_to_stop = 0; while (!stopping && n) { dx = dy = 0; - if (lp->lnd_rpath[0] == 0 || lp->lnd_rpath[0] == 0) { + if (lp->lnd_rpath[0] == 0) { stopping = 1; continue; }