diff options
author | Sven Hesse | 2011-01-18 08:14:23 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-18 08:14:23 +0000 |
commit | 61b90c43d81474f5d253e8e1c43302c99382cbb0 (patch) | |
tree | d71685cce19f59286b8730af0a60eeb540e597e5 /engines/gob | |
parent | f33b84ff3d1b1f1a8efac54696046983be5f5de7 (diff) | |
download | scummvm-rg350-61b90c43d81474f5d253e8e1c43302c99382cbb0.tar.gz scummvm-rg350-61b90c43d81474f5d253e8e1c43302c99382cbb0.tar.bz2 scummvm-rg350-61b90c43d81474f5d253e8e1c43302c99382cbb0.zip |
GOB: Fix a stupid typo in o2_readData()
svn-id: r55290
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/inter_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp index 3e8a4903ca..ad37f15abb 100644 --- a/engines/gob/inter_v2.cpp +++ b/engines/gob/inter_v2.cpp @@ -1371,7 +1371,7 @@ bool Inter_v2::o2_readData(OpFuncParams ¶ms) { WRITE_VAR(1, 1); Common::SeekableReadStream *stream = _vm->_dataIO->getFile(file); - if (!file) + if (!stream) return false; _vm->_draw->animateCursor(4); |