mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 02:19:41 +00:00
(svn r23661) -Fix (r23438): Remaining parts of configuration were skipped when grfcodec/nforenum were not usable.
This commit is contained in:
parent
d175528220
commit
e514ca39cc
@ -944,13 +944,11 @@ check_params() {
|
|||||||
if [ -z "$grfcodec" ] && [ -n "$nforenum" ]; then
|
if [ -z "$grfcodec" ] && [ -n "$nforenum" ]; then
|
||||||
log 1 "checking nforenum/grfcodec... nforenum needs grfcodec enabled, disabling nforenum"
|
log 1 "checking nforenum/grfcodec... nforenum needs grfcodec enabled, disabling nforenum"
|
||||||
nforenum=""
|
nforenum=""
|
||||||
return 0
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$nforenum" ] && [ -n "$grfcodec" ]; then
|
if [ -z "$nforenum" ] && [ -n "$grfcodec" ]; then
|
||||||
log 1 "checking nforenum/grfcodec... grfcodec needs nforenum enabled, disabling grfcodec"
|
log 1 "checking nforenum/grfcodec... grfcodec needs nforenum enabled, disabling grfcodec"
|
||||||
grfcodec=""
|
grfcodec=""
|
||||||
return 0
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$os" = "DOS" ]; then
|
if [ "$os" = "DOS" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user