These are only appropriate for commands and their helpers.
/* just return if no autonaving to do for this ship */
if (!(sp->shp_autonav & AN_AUTONAV) || (sp->shp_autonav & AN_STANDBY))
- return RET_OK;
+ return 0;
cnum = sp->shp_own;
shp_nav(&ship_list, &dummydouble, &dummydouble, &dummyint,
sp->shp_own);
if (QEMPTY(&ship_list))
- return RET_OK;
+ return 0;
cp = BestShipPath(buf, sp->shp_x, sp->shp_y,
sp->shp_destx[0], sp->shp_desty[0],
free(qp);
qp = newqp;
}
- return RET_SYN;
+ return -1;
}
stopping = 0;
free(qp);
qp = newqp;
}
- return RET_OK;
+ return 0;
}