From a5d225d438d86ab5ccada755773f131e1007f0f5 Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Mon, 28 Jul 2008 14:02:46 +0000 Subject: Fixed loading of static items. svn-id: r33375 --- engines/parallaction/disk_br.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines') diff --git a/engines/parallaction/disk_br.cpp b/engines/parallaction/disk_br.cpp index 1f77c338c0..34186f52c2 100644 --- a/engines/parallaction/disk_br.cpp +++ b/engines/parallaction/disk_br.cpp @@ -193,6 +193,7 @@ GfxObj* DosDisk_br::loadHead(const char* name) { void DosDisk_br::loadBitmap(Common::SeekableReadStream &stream, Graphics::Surface &surf, byte *palette) { stream.skip(4); uint width = stream.readUint32BE(); + if (width & 1) width++; uint height = stream.readUint32BE(); stream.skip(20); -- cgit v1.2.3