[Fix] Check if plural or singular in autonav message.
This commit is contained in:
parent
517a9dd0e8
commit
76b4e35210
@ -1816,8 +1816,8 @@ void player_brokeHyperspace(void) {
|
||||
player_message("Autonav arrived at destination.");
|
||||
player_rmFlag(PLAYER_AUTONAV);
|
||||
} else {
|
||||
player_message("Autonav continuing until destination (%d jumps left).",
|
||||
map_npath);
|
||||
player_message("Autonav continuing until destination (%d jump%s left).",
|
||||
map_npath, (map_npath==1) ? "" : "s");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user