aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 5ab145c5f4..4b54832294 100755
--- a/configure
+++ b/configure
@@ -3201,6 +3201,11 @@ fi
define_in_config_if_yes "$_png" 'USE_PNG'
echo "$_png"
+if test `get_engine_build sword25` = yes && test ! "$_png" = yes ; then
+ echo "...disabling Broken Sword 2.5 engine. PNG is required"
+ engine_disable sword25
+fi
+
#
# Check for Theora Decoder
#