aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb
diff options
context:
space:
mode:
authorVladimir Menshakov2011-06-19 15:24:31 +0400
committerVladimir Menshakov2011-06-19 15:50:22 +0400
commit41159c68ab35abea23e95974cedc286f530b11c9 (patch)
tree4e369015e6831ed732c0bd956a1d2a2572f60823 /engines/dreamweb
parent9dddf76aa79751bf232d5dcd6a85248cf725a723 (diff)
downloadscummvm-rg350-41159c68ab35abea23e95974cedc286f530b11c9.tar.gz
scummvm-rg350-41159c68ab35abea23e95974cedc286f530b11c9.tar.bz2
scummvm-rg350-41159c68ab35abea23e95974cedc286f530b11c9.zip
DREAMWEB: removed hack from openfile
Diffstat (limited to 'engines/dreamweb')
-rw-r--r--engines/dreamweb/stubs.cpp5
1 files changed, 1 insertions, 4 deletions
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;