(retreat_ship1, retreat_land1): Delete some code that had no effect.
This commit is contained in:
parent
68d7cbd273
commit
300876a44d
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue