diff options
author | Torbjörn Andersson | 2006-04-06 20:57:58 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-04-06 20:57:58 +0000 |
commit | 0f3aeb09ed6b43c695ee851119b59d6b4703685e (patch) | |
tree | acfcdbcfde181439ee5f66464f298b264d7ed88d /engines | |
parent | c07f18650293520928270f58f8441c95ebbf5ee7 (diff) | |
download | scummvm-rg350-0f3aeb09ed6b43c695ee851119b59d6b4703685e.tar.gz scummvm-rg350-0f3aeb09ed6b43c695ee851119b59d6b4703685e.tar.bz2 scummvm-rg350-0f3aeb09ed6b43c695ee851119b59d6b4703685e.zip |
Fixed another "worked in cinE, broken in ScummVM" bug that made it impossible
to interact with the objects in the second room. We were passing the wrong
pointer to gfxConvertSpriteToRaw() in loadCt(), causing page3Raw (which I
believe is an "image" mapping screen coordinates to objects) to be wrong.
svn-id: r21646
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cine/bg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cine/bg.cpp b/engines/cine/bg.cpp index fc7010d955..0ff09c939d 100644 --- a/engines/cine/bg.cpp +++ b/engines/cine/bg.cpp @@ -58,13 +58,13 @@ byte loadCt(const char *ctName) { assert(strstr(ctName, ".NEO")); - memcpy(header, ptr, 32); ptr += 32; + memcpy(header, ptr, 32); for (int i = 0; i < 16; i++) { header[i] = TO_BE_16(header[i]); } - gfxConvertSpriteToRaw(page3Raw, ptr + 0x80 - 0x22, 160, 200); + gfxConvertSpriteToRaw(page3Raw, ptr + 0x80, 160, 200); } return 0; |