From 403c2f31bb9688a3284463913e97e9e2e4f85774 Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Sun, 10 Jan 2010 23:55:15 +0000 Subject: SCI: Fix default optimization level in AvoidPath svn-id: r47239 --- engines/sci/engine/kpathing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp index 5916e850bf..d9758e259e 100644 --- a/engines/sci/engine/kpathing.cpp +++ b/engines/sci/engine/kpathing.cpp @@ -1810,7 +1810,7 @@ reg_t kAvoidPath(EngineState *s, int argc, reg_t *argv) { case 8 : { Common::Point end = Common::Point(argv[2].toSint16(), argv[3].toSint16()); reg_t poly_list, output; - int width, height, opt = 0; + int width, height, opt = 1; if (getSciVersion() >= SCI_VERSION_2) { if (argc < 7) -- cgit v1.2.3