aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-09-09 13:54:32 +0000
committerTravis Howell2004-09-09 13:54:32 +0000
commit9eb69ed03ad2dd635498467e5ec10bfcdbc6fcd1 (patch)
treed86652471a3ce212f4ec4ffba66cc9350601cff8
parent1502b39634af13cd6f8af882e32e56732c1e1ecd (diff)
downloadscummvm-rg350-9eb69ed03ad2dd635498467e5ec10bfcdbc6fcd1.tar.gz
scummvm-rg350-9eb69ed03ad2dd635498467e5ec10bfcdbc6fcd1.tar.bz2
scummvm-rg350-9eb69ed03ad2dd635498467e5ec10bfcdbc6fcd1.zip
Use screen width, not hard coded value.
svn-id: r14983
-rw-r--r--scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 648bf6bec9..ab3bbfed73 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -2567,7 +2567,7 @@ void Gdi::decodeStripHE(byte *dst, const byte *src, int height, byte transpCheck
}
}
}
- dst += 312;
+ dst += _vm->_screenWidth - 8;;
height--;
}
}