aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/inter_v7.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/gob/inter_v7.cpp b/engines/gob/inter_v7.cpp
index 79d691d5d1..64173eb6ac 100644
--- a/engines/gob/inter_v7.cpp
+++ b/engines/gob/inter_v7.cpp
@@ -418,13 +418,12 @@ void Inter_v7::o7_opendBase() {
dbFile += ".DBF";
+ _databases.setLanguage(_vm->_language);
if (!_databases.open(id, dbFile)) {
WRITE_VAR(27, 0); // Failure
return;
}
- _databases.setLanguage(_vm->_language);
-
WRITE_VAR(27, 1); // Success
}