Tweak to error dialogs and add separate warning dialogs
(Also some error messages tweaked)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user