mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-08-18 12:17:13 -04:00
adjust several exit states
This commit is contained in:
parent
a71850368d
commit
4211f044ed
5 changed files with 5 additions and 102 deletions
|
@ -59,6 +59,7 @@ int main(int argc, char **argv) {
|
|||
cfg.short_help = show_help_short;
|
||||
cfg.show_error = [](const char *txt) {
|
||||
std::cerr << "ERROR: " << txt << std::endl;
|
||||
abort();
|
||||
};
|
||||
cfg.adventure_path = adv_config_file.empty()?NULL:adv_config_file.c_str();
|
||||
cfg.config_path = config_name.c_str();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue