(sorde): Output format fixes from Ron Koenderink.
This commit is contained in:
parent
c2c16e1a04
commit
e07fb30663
1 changed files with 8 additions and 8 deletions
|
@ -485,7 +485,7 @@ sorde(void)
|
||||||
/* Destination 2 */
|
/* Destination 2 */
|
||||||
if ((ship.shp_destx[1] != ship.shp_destx[0])
|
if ((ship.shp_destx[1] != ship.shp_destx[0])
|
||||||
|| (ship.shp_desty[1] != ship.shp_desty[0])) {
|
|| (ship.shp_desty[1] != ship.shp_desty[0])) {
|
||||||
prxy(" %2d,%-2d", ship.shp_destx[0],
|
prxy(" %3d,%-3d", ship.shp_destx[0],
|
||||||
ship.shp_desty[0], player->cnum);
|
ship.shp_desty[0], player->cnum);
|
||||||
} else
|
} else
|
||||||
pr(" ");
|
pr(" ");
|
||||||
|
@ -501,11 +501,11 @@ sorde(void)
|
||||||
ship.shp_y, ship.shp_destx[0],
|
ship.shp_y, ship.shp_destx[0],
|
||||||
ship.shp_desty[0], ship.shp_own);
|
ship.shp_desty[0], ship.shp_own);
|
||||||
if (!c || !*c)
|
if (!c || !*c)
|
||||||
pr("no route possible");
|
pr(" no route possible");
|
||||||
else if (*c == 'h')
|
else if (*c == 'h')
|
||||||
pr("has arrived");
|
pr(" has arrived");
|
||||||
else if (*c == '?')
|
else if (*c == '?')
|
||||||
pr("route too long");
|
pr(" route too long");
|
||||||
else {
|
else {
|
||||||
/* distance to destination */
|
/* distance to destination */
|
||||||
eta_calc(&ship, c, &len, &updates);
|
eta_calc(&ship, c, &len, &updates);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue