MOHAWK: Don't warn about odd LB version record sizes.

This commit is contained in:
Alyssa Milburn 2011-03-11 19:15:19 +01:00
parent 5acac402af
commit ba606e3693

View File

@ -555,8 +555,9 @@ void MohawkEngine_LivingBooks::queueDelayedEvent(DelayedEvent event) {
uint16 MohawkEngine_LivingBooks::getResourceVersion() {
Common::SeekableReadStream *versionStream = getResource(ID_VRSN, 1000);
// FIXME: some V2 games have very strange version entries
if (versionStream->size() != 2)
warning("Version Record size mismatch");
debug(1, "Version Record size mismatch");
uint16 version = versionStream->readUint16BE();