mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-28 23:13:02 +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.KoopaQuickBobWinDialog = DIALOG_031
|
||||||
gBehaviorValues.dialogs.KoopaQuickThiWinDialog = DIALOG_031
|
gBehaviorValues.dialogs.KoopaQuickThiWinDialog = DIALOG_031
|
||||||
|
|
||||||
|
---------------------------
|
||||||
|
-- force server settings --
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
gServerSettings.fixCollisionBugs = 1
|
||||||
|
|
||||||
--------------
|
--------------
|
||||||
-- movtexs --
|
-- movtexs --
|
||||||
--------------
|
--------------
|
||||||
|
|
|
@ -437,9 +437,15 @@ void main_func(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
|
#ifdef SIGINT
|
||||||
signal(SIGINT, inthand);
|
signal(SIGINT, inthand);
|
||||||
|
#endif
|
||||||
|
#ifdef SIGQUIT
|
||||||
signal(SIGQUIT, inthand);
|
signal(SIGQUIT, inthand);
|
||||||
|
#endif
|
||||||
|
#ifdef SIGTERM
|
||||||
signal(SIGTERM, inthand);
|
signal(SIGTERM, inthand);
|
||||||
|
#endif
|
||||||
parse_cli_opts(argc, argv);
|
parse_cli_opts(argc, argv);
|
||||||
main_func();
|
main_func();
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue