diff --git a/dcc b/dcc index 7d3cabb..ae418dc 100755 --- a/dcc +++ b/dcc @@ -1,6 +1,5 @@ #!/bin/bash -set -x if [[ $# != 3 ]]; then echo "Usage: $0 " >&2 exit 1 @@ -63,6 +62,8 @@ OPTIONS=() if [[ -e "${PWADPATH}/options" ]]; then OPTIONS=("-assign" "$(< "${PWADPATH}/options")") fi + +# TODO: properly split MAP into an array in case this is a UDoom wad. dsda-doom \ -skill 4 -warp ${MAP} \ "${IWAD[@]}" "${WADS[@]}" "${DEH[@]}" "${COMPLEVEL[@]}" "${OPTIONS[@]}" "${COMMAND[@]}"