]> git.pond.sub.org Git - empserver/commitdiff
(retreat_ship1, retreat_land1): Delete some code that had no effect.
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 3 Oct 2005 10:41:13 +0000 (10:41 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 3 Oct 2005 10:41:13 +0000 (10:41 +0000)
src/lib/subs/retreat.c

index 94652ecad24e937effca92136c8064679ba7937f..5a43aab875dcde84e3343ffdae6200569f8dff55 100644 (file)
@@ -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;
        }