diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-02-27 00:01:39 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-02-27 00:01:39 +0100 |
commit | 9ce9299d17b565cb20e94cd39563fbb30533b5a8 (patch) | |
tree | ed3616c324df5454b60e1e9a69b8574f003dd717 | |
parent | 6064e1b6fbc4b500e125272fca374b1b5e1df760 (diff) |
games/doom: ... but keep fd=2 open :)
-rw-r--r-- | sys/src/games/doom/i_sound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/games/doom/i_sound.c b/sys/src/games/doom/i_sound.c index 74b4f5d4f..ed2f5c856 100644 --- a/sys/src/games/doom/i_sound.c +++ b/sys/src/games/doom/i_sound.c @@ -461,7 +461,7 @@ void I_PlaySong(musicinfo_t *m, int loop) break; case 0: dup(mpfd[1], 1); - for(n=2; n<20; n++) close(n); + for(n=3; n<20; n++) close(n); close(0); snprint(name, sizeof(name), "/tmp/%s.mus", m->name); if(create(name, ORDWR, 0666) != 0) |