mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
Only use defined signals
This commit is contained in:
parent
946f16329c
commit
ae7c1427b9
2 changed files with 12 additions and 0 deletions
|
@ -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 a new issue