Little bits

- Fix monster pic field stealing focus forever
- Fix "ask to save" behaviour
This commit is contained in:
2014-11-29 16:38:31 -05:00
parent b537fabd13
commit 6fae493080
3 changed files with 5 additions and 6 deletions

View File

@@ -3459,12 +3459,10 @@ bool save_check(std::string which_dlog) {
return true;
change_made = false;
choice = cChoiceDlog(which_dlog, {"save","revert","cancel"}).show();
if (choice == "okay")
if(choice == "revert")
return true;
if (choice == "cancel") {
change_made = false;
else if(choice == "cancel")
return false;
}
modify_lists();
save_scenario();
return true;

View File

@@ -540,7 +540,7 @@ bool check_monst_pic(cDialog& me, std::string id, bool losing, cMonster& store_m
}
}
return false;
return true;
}
bool save_monst_info(cDialog& me, cMonster& store_monst) {