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
|
@ -174,7 +174,7 @@ static void error(const char *text)
|
|||
SEND_LOG("(ERROR) %s : %s",popis,text);
|
||||
closemode();
|
||||
display_error(popis);
|
||||
exit(0);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
static void ex_error(char znak)
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -430,7 +430,7 @@ int load_map(const char *filename)
|
|||
{
|
||||
closemode();
|
||||
display_error("Bug in temp file. Please purge some status blocks in last load savegame file.");
|
||||
exit(0);
|
||||
exit(1);
|
||||
}
|
||||
doNotLoadMapState=0;
|
||||
current_map_hash = fnv1a_hash(filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue