diff options
author | Walter van Niftrik | 2010-01-10 23:55:15 +0000 |
---|---|---|
committer | Walter van Niftrik | 2010-01-10 23:55:15 +0000 |
commit | 403c2f31bb9688a3284463913e97e9e2e4f85774 (patch) | |
tree | d925dcd7213c5d9e5cbf11676de9d948c1265c68 /engines/sci | |
parent | 9a18bfc22f2ee41b30a482937c1eac5cac00663c (diff) | |
download | scummvm-rg350-403c2f31bb9688a3284463913e97e9e2e4f85774.tar.gz scummvm-rg350-403c2f31bb9688a3284463913e97e9e2e4f85774.tar.bz2 scummvm-rg350-403c2f31bb9688a3284463913e97e9e2e4f85774.zip |
SCI: Fix default optimization level in AvoidPath
svn-id: r47239
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/kpathing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |