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

@@ -989,7 +989,7 @@ short get_num_response(short min, short max, std::string prompt) {
if(!losing) return true;
int val = me["number"].getTextAsNum();
if(val < min || val > max) {
giveError("Number out of range!");
showError("Number out of range!");
return false;
}
return true;