[Fix] Check if plural or singular in autonav message.

This commit is contained in:
Allanis 2013-12-17 11:50:53 +00:00
parent 517a9dd0e8
commit 76b4e35210

View File

@ -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");
}
}