OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c534cc
)
To avoid a fatal "cannot set permissions correctly" error, set player_egid (and to...
author
Eric Branlund
<ebranlund@fastmail.com>
Sun, 5 Apr 2020 16:26:38 +0000
(09:26 -0700)
committer
Eric Branlund
<ebranlund@fastmail.com>
Sun, 5 Apr 2020 16:26:38 +0000
(09:26 -0700)
src/main-cocoa.m
patch
|
blob
|
history
diff --git
a/src/main-cocoa.m
b/src/main-cocoa.m
index
c8dd93d
..
310e9b1
100644
(file)
--- a/
src/main-cocoa.m
+++ b/
src/main-cocoa.m
@@
-5693,12
+5693,13
@@
static void play_sound(int event)
/* Register the sound hook */
/* sound_hook = play_sound; */
- /* Initialise game */
- init_angband();
-
/* Initialize some save file stuff */
+ player_euid = geteuid();
player_egid = getegid();
+ /* Initialise game */
+ init_angband();
+
/* We are now initialized */
initialized = TRUE;