From 918858ebcef46aea0e90ef32a9a4eae0c76b0448 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 23 Jun 2004 09:59:14 +0000 Subject: Positive values are only used in DOS version of fbear. svn-id: r14012 --- scumm/script_v6he.cpp | 4 ++-- 1 file 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) { -- cgit v1.2.3