mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-08-26 17:17:30 -04:00
adjust several exit states
This commit is contained in:
parent
a71850368d
commit
4211f044ed
5 changed files with 5 additions and 102 deletions
|
@ -171,7 +171,7 @@ void load_items()
|
|||
{
|
||||
closemode();
|
||||
display_error("Selhalo otevreni souboru ITEMS.DAT. Zkotroluj zda vubec existuje.");
|
||||
exit(0);
|
||||
exit(1);
|
||||
}
|
||||
do
|
||||
{
|
||||
|
@ -966,7 +966,7 @@ void definuj_postavy()
|
|||
{
|
||||
closemode();
|
||||
display_error("Error in file POSTAVY.DAT. May be missing a parameter in some definition.");
|
||||
exit(0);
|
||||
exit(1);
|
||||
}
|
||||
c=strchr(c,'\n')+1;
|
||||
prepocitat_postavu(p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue