aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2010-12-07 23:55:27 +0000
committerSven Hesse2010-12-07 23:55:27 +0000
commit08262d90fb214f292aacf2b927ecb39fe50aef66 (patch)
tree0af432debe8b623cef9ef1b1da37405ba38b9f72 /engines/gob
parentd571279d9976801b546d6ab02d0e8f6247a1f61f (diff)
downloadscummvm-rg350-08262d90fb214f292aacf2b927ecb39fe50aef66.tar.gz
scummvm-rg350-08262d90fb214f292aacf2b927ecb39fe50aef66.tar.bz2
scummvm-rg350-08262d90fb214f292aacf2b927ecb39fe50aef66.zip
GOB: Fix byte *getFile() for loose files
A very, very stupid error on my part :P svn-id: r54826
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/dataio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/dataio.cpp b/engines/gob/dataio.cpp
index b145441b4a..78fc0ab3c1 100644
--- a/engines/gob/dataio.cpp
+++ b/engines/gob/dataio.cpp
@@ -316,7 +316,7 @@ byte *DataIO::getFile(const Common::String &name, int32 &size) {
return 0;
}
- return 0;
+ return data;
}
DataIO::File *DataIO::findFile(const Common::String &name) {