diff options
author | Gregory Montoir | 2005-09-02 18:35:01 +0000 |
---|---|---|
committer | Gregory Montoir | 2005-09-02 18:35:01 +0000 |
commit | a861226f203b9cdff448a3cd5642d776837fed7c (patch) | |
tree | 821971b54eef25cf0404b1871ee97c2e742f4eef /kyra/screen.cpp | |
parent | 35bd5fa824d8c1dba93454f5f9fb49e38c3c93d9 (diff) | |
download | scummvm-rg350-a861226f203b9cdff448a3cd5642d776837fed7c.tar.gz scummvm-rg350-a861226f203b9cdff448a3cd5642d776837fed7c.tar.bz2 scummvm-rg350-a861226f203b9cdff448a3cd5642d776837fed7c.zip |
fix shape loading for cdrom version
svn-id: r18737
Diffstat (limited to 'kyra/screen.cpp')
-rw-r--r-- | kyra/screen.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kyra/screen.cpp b/kyra/screen.cpp index c23fbf5885..229009986f 100644 --- a/kyra/screen.cpp +++ b/kyra/screen.cpp @@ -323,6 +323,9 @@ void Screen::drawShape(uint8 pageNum, const uint8 *shapeData, int x, int y, int DrawShapePlotPixelCallback plotPixel = _drawShapePlotPixelTable[ppc]; const uint8 *src = shapeData; + if (_vm->game() == KYRA1CD) { + src += 2; + } uint16 shapeFlags = READ_LE_UINT16(src); src += 2; int shapeHeight = *src++; |