aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/prince.cpp
diff options
context:
space:
mode:
authorKamil Zbróg2013-11-05 21:57:10 +0000
committerKamil Zbróg2013-11-05 21:57:10 +0000
commitd6a76d98145bae11dbdff212e79784c060f49b9f (patch)
treea6c158a101312c41ecf60d3a739af0d3ceff4d20 /engines/prince/prince.cpp
parent4722d0e5becee530b1ca11e5a1ef0f35b23fe721 (diff)
downloadscummvm-rg350-d6a76d98145bae11dbdff212e79784c060f49b9f.tar.gz
scummvm-rg350-d6a76d98145bae11dbdff212e79784c060f49b9f.tar.bz2
scummvm-rg350-d6a76d98145bae11dbdff212e79784c060f49b9f.zip
PRINCE: major code cleanup, flag handling rewritten in script
Diffstat (limited to 'engines/prince/prince.cpp')
-rw-r--r--engines/prince/prince.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/prince/prince.cpp b/engines/prince/prince.cpp
index e1d35091ed..2d1f6ce880 100644
--- a/engines/prince/prince.cpp
+++ b/engines/prince/prince.cpp
@@ -357,7 +357,7 @@ void PrinceEngine::keyHandler(Common::Event event) {
scrollCameraRight(32);
break;
case Common::KEYCODE_ESCAPE:
- _script->setFlag(Flags::ESCAPED2, 1);
+ _script->setFlagValue(Flags::ESCAPED2, 1);
break;
}
}