aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/toon/movie.cpp4
-rw-r--r--engines/toon/script_func.cpp2
2 files changed, 2 insertions, 4 deletions
diff --git a/engines/toon/movie.cpp b/engines/toon/movie.cpp
index 7743b6aa7f..d41fde66c2 100644
--- a/engines/toon/movie.cpp
+++ b/engines/toon/movie.cpp
@@ -44,7 +44,7 @@ bool ToonstruckSmackerDecoder::loadFile(const Common::String &filename, int forc
_lowRes = false;
if (Video::SmackerDecoder::loadFile(filename)) {
- if (forcedflags & 0x10 || _surface->h == 200) {
+ if (_surface->h == 200) {
if (_surface) {
_surface->free();
delete _surface;
@@ -119,7 +119,7 @@ bool Movie::playVideo() {
Common::Event event;
while (_vm->getSystem()->getEventManager()->pollEvent(event))
- if ((event.type == Common::EVENT_KEYDOWN && event.kbd.keycode == Common::KEYCODE_ESCAPE) || event.type == Common::EVENT_LBUTTONUP) {
+ if ((event.type == Common::EVENT_KEYDOWN && event.kbd.keycode == Common::KEYCODE_ESCAPE)) {
return false;
}
diff --git a/engines/toon/script_func.cpp b/engines/toon/script_func.cpp
index 67e20f3354..bc55a5aa6f 100644
--- a/engines/toon/script_func.cpp
+++ b/engines/toon/script_func.cpp
@@ -321,8 +321,6 @@ int32 ScriptFunc::sys_Cmd_Play_Flic(EMCState *state) {
else
strcpy(name, _vm->createRoomFilename(GetText(0, state)).c_str());
-// Strangerke - Commented (not used)
-// int32 Flags = stackPos(1);
int32 stopMusic = stackPos(2);
_vm->getMoviePlayer()->play(name, stopMusic);
return 0;