From 41159c68ab35abea23e95974cedc286f530b11c9 Mon Sep 17 00:00:00 2001 From: Vladimir Menshakov Date: Sun, 19 Jun 2011 15:24:31 +0400 Subject: DREAMWEB: removed hack from openfile --- engines/dreamweb/stubs.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'engines') diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index be6dab5b52..7eeeabe136 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -162,10 +162,6 @@ void DreamGenContext::openfilefromc() { void DreamGenContext::openfile() { Common::String name = getFilename(*this); - if (name.empty()) { //fixme: this happens if you quit from new game/load screen - flags._c = true; - return; - } debug(1, "opening file: %s", name.c_str()); engine->openFile(name); cs.word(kHandle) = 1; //only one handle @@ -361,6 +357,7 @@ void DreamGenContext::generalerror() { } void DreamGenContext::dosreturn() { + _cmp(data.byte(kCommandtype), 250); if (!flags.z()) { data.byte(kCommandtype) = 250; -- cgit v1.2.3