diff options
author | Gregory Montoir | 2006-11-15 22:35:45 +0000 |
---|---|---|
committer | Gregory Montoir | 2006-11-15 22:35:45 +0000 |
commit | 24df07d29dfeae8df28b74744f71962eb34686fc (patch) | |
tree | f8a26b7076fc30957a87acec8189689385b14590 /engines/touche/resource.cpp | |
parent | f55320f988a481ee7d92bcce39dfcbbf31d4151a (diff) | |
download | scummvm-rg350-24df07d29dfeae8df28b74744f71962eb34686fc.tar.gz scummvm-rg350-24df07d29dfeae8df28b74744f71962eb34686fc.tar.bz2 scummvm-rg350-24df07d29dfeae8df28b74744f71962eb34686fc.zip |
added handler for flag 618 (cursor display on/off) and workaround a palette glitch
svn-id: r24724
Diffstat (limited to 'engines/touche/resource.cpp')
-rw-r--r-- | engines/touche/resource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/touche/resource.cpp b/engines/touche/resource.cpp index 5f70dafa88..5850762848 100644 --- a/engines/touche/resource.cpp +++ b/engines/touche/resource.cpp @@ -411,9 +411,9 @@ void ToucheEngine::res_loadRoom(int num) { const uint32 offsInfo = res_getDataOffset(kResourceTypeRoomInfo, num); _fData.seek(offsInfo); - _fData.readUint16LE(); + _fData.skip(2); const int roomImageNum = _fData.readUint16LE(); - _fData.readUint16LE(); + _fData.skip(2); for (int i = 0; i < 256; ++i) { _fData.read(&_paletteBuffer[i * 4], 3); _paletteBuffer[i * 4 + 3] = 0; |