Tweak to error dialogs and add separate warning dialogs

(Also some error messages tweaked)
This commit is contained in:
2015-08-14 23:30:07 -04:00
parent d2a348cdd6
commit 5762c2bb90
21 changed files with 240 additions and 200 deletions

View File

@@ -115,7 +115,7 @@ void start_town_mode(short which_town, short entry_dir) {
former_town = town_number = which_town;
if(town_number < 0 || town_number >= univ.scenario.towns.size()) {
giveError("The scenario tried to put you into a town that doesn't exist.",
showError("The scenario tried to put you into a town that doesn't exist.",
"Requested town: " + std::to_string(town_number) + "|Max town: " + std::to_string(univ.scenario.towns.size()));
return;
}
@@ -139,7 +139,7 @@ void start_town_mode(short which_town, short entry_dir) {
if(town_number < 0 || town_number >= univ.scenario.towns.size()) {
giveError("The scenario tried to put you into a town that doesn't exist.",
showError("The scenario tried to put you into a town that doesn't exist.",
"Requested town: " + std::to_string(former_town) + "|Adjusted town: " + std::to_string(town_number) + "|Max town: " + std::to_string(univ.scenario.towns.size()));
return;
}