aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/blbarchive.cpp
diff options
context:
space:
mode:
authorjohndoe1232012-11-19 22:24:03 +0000
committerWillem Jan Palenstijn2013-05-08 20:47:38 +0200
commitb2934eb166ba5b442a93969ad8b4dfbbc6ef3314 (patch)
treeb2ffdaa149da1a7e1a989a6617b19849b3184923 /engines/neverhood/blbarchive.cpp
parentcc015e3d24d15dc0c3532063927fd40e2329f43e (diff)
downloadscummvm-rg350-b2934eb166ba5b442a93969ad8b4dfbbc6ef3314.tar.gz
scummvm-rg350-b2934eb166ba5b442a93969ad8b4dfbbc6ef3314.tar.bz2
scummvm-rg350-b2934eb166ba5b442a93969ad8b4dfbbc6ef3314.zip
NEVERHOOD: Fix Klaymen "grow" animation after drinking the potion
- Remove static sprite 0x50C027A8 Scene2803/Scene2803Small because the resource doesn't exist! - Remove some old comments - Fix resource extData handling which fixes some crashes - Enable reusing deleted sound/music slots in SoundMan (was disabled for debugging)
Diffstat (limited to 'engines/neverhood/blbarchive.cpp')
-rw-r--r--engines/neverhood/blbarchive.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/neverhood/blbarchive.cpp b/engines/neverhood/blbarchive.cpp
index 02fad55000..748d04c7ca 100644
--- a/engines/neverhood/blbarchive.cpp
+++ b/engines/neverhood/blbarchive.cpp
@@ -91,7 +91,6 @@ void BlbArchive::open(const Common::String &filename) {
BlbArchiveEntry &entry = _entries[i];
entry.type = _fd.readByte();
entry.comprType = _fd.readByte();
- //entry.extDataOfs = _fd.readUint16LE();
entry.extData = NULL;
extDataOffsets[i] = _fd.readUint16LE();
entry.timeStamp = _fd.readUint32LE();
@@ -132,7 +131,7 @@ void BlbArchive::load(BlbArchiveEntry *entry, byte *buffer, uint32 size) {
break;
case 3: // DCL-compressed
if (!Common::decompressDCL(&_fd, buffer, entry->diskSize, entry->size))
- error("BlbArchive::load() Error during decompression of %=8X", entry->fileHash);
+ error("BlbArchive::load() Error during decompression of %08X", entry->fileHash);
break;
default:
error("BlbArchive::load() Unknown compression type %d", entry->comprType);