Only use defined signals
This commit is contained in:
parent
946f16329c
commit
ae7c1427b9
|
@ -25,6 +25,12 @@ gBehaviorValues.dialogs.KoopaQuickThiStartDialog = DIALOG_009
|
|||
gBehaviorValues.dialogs.KoopaQuickBobWinDialog = DIALOG_031
|
||||
gBehaviorValues.dialogs.KoopaQuickThiWinDialog = DIALOG_031
|
||||
|
||||
---------------------------
|
||||
-- force server settings --
|
||||
---------------------------
|
||||
|
||||
gServerSettings.fixCollisionBugs = 1
|
||||
|
||||
--------------
|
||||
-- movtexs --
|
||||
--------------
|
||||
|
|
|
@ -437,9 +437,15 @@ void main_func(void) {
|
|||
}
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
#ifdef SIGINT
|
||||
signal(SIGINT, inthand);
|
||||
#endif
|
||||
#ifdef SIGQUIT
|
||||
signal(SIGQUIT, inthand);
|
||||
#endif
|
||||
#ifdef SIGTERM
|
||||
signal(SIGTERM, inthand);
|
||||
#endif
|
||||
parse_cli_opts(argc, argv);
|
||||
main_func();
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue