diff options
author | Travis Howell | 2004-06-23 09:59:14 +0000 |
---|---|---|
committer | Travis Howell | 2004-06-23 09:59:14 +0000 |
commit | 918858ebcef46aea0e90ef32a9a4eae0c76b0448 (patch) | |
tree | c9865a3db7347ab72cab802d83c9a710407c8213 | |
parent | 04d4f7fca108fecf960f10828204c2baa72db837 (diff) | |
download | scummvm-rg350-918858ebcef46aea0e90ef32a9a4eae0c76b0448.tar.gz scummvm-rg350-918858ebcef46aea0e90ef32a9a4eae0c76b0448.tar.bz2 scummvm-rg350-918858ebcef46aea0e90ef32a9a4eae0c76b0448.zip |
Positive values are only used in DOS version of fbear.
svn-id: r14012
-rw-r--r-- | scumm/script_v6he.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp index 29ba84f109..c35d9621a6 100644 --- a/scumm/script_v6he.cpp +++ b/scumm/script_v6he.cpp @@ -1097,7 +1097,7 @@ void ScummEngine_v6he::o6_readFile() { debug(1, "o6_readFile(%d, %d)", slot, size); // Fatty Bear uses positive values - if (_gameId == GID_FBEAR) + if ((_features & GF_PC) && (_gameId == GID_FBEAR)) size = -size; if (size == -2) { @@ -1127,7 +1127,7 @@ void ScummEngine_v6he::o6_writeFile() { debug(1, "o6_writeFile(%d, %d, %d)", slot, resID, size); // Fatty Bear uses positive values - if (_gameId == GID_FBEAR) + if ((_features & GF_PC) && (_gameId == GID_FBEAR)) size = -size; if (size == -2) { |