summaryrefslogtreecommitdiff
path: root/sys/src/games/doom/d_main.c
diff options
context:
space:
mode:
authorqwx <devnull@localhost>2018-10-21 00:11:39 +0200
committerqwx <devnull@localhost>2018-10-21 00:11:39 +0200
commitf5c6a870bfb6d92f623aaa42bb60f074638e37fe (patch)
tree30aa568eff9d1d34b6fc82d98fca0bea8aa9422f /sys/src/games/doom/d_main.c
parentb4eb667f02c32f007290b68adc95c8fbd9a2c3cd (diff)
doom: fix music for patch wads
revert last change, which used games/wadfs to expose genmidi and music lumps. replacements from patch wads were never seen that way. instead, write genmidi and music lumps to /tmp and play them from there.
Diffstat (limited to 'sys/src/games/doom/d_main.c')
-rw-r--r--sys/src/games/doom/d_main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/src/games/doom/d_main.c b/sys/src/games/doom/d_main.c
index 706306912..6f1e86215 100644
--- a/sys/src/games/doom/d_main.c
+++ b/sys/src/games/doom/d_main.c
@@ -635,11 +635,6 @@ void IdentifyVersion (void)
gamemode = indetermined;
return;
}
- if(gamemode != indetermined && rfork(RFPROC|RFFDG) == 0){
- close(2);
- execl("/bin/games/wadfs", "wadfs", wadfile, nil);
- sysfatal("execl: %r");
- }
strncpy(basedefault, wadfile, sizeof(basedefault)-5);
basedefault[sizeof(basedefault)-5] = '\0';
slash = strrchr(basedefault, '/');