Fixed loading of static items.

svn-id: r33375
This commit is contained in:
Nicola Mettifogo 2008-07-28 14:02:46 +00:00
parent b67db7baf5
commit a5d225d438

View File

@ -193,6 +193,7 @@ GfxObj* DosDisk_br::loadHead(const char* name) {
void DosDisk_br::loadBitmap(Common::SeekableReadStream &stream, Graphics::Surface &surf, byte *palette) { void DosDisk_br::loadBitmap(Common::SeekableReadStream &stream, Graphics::Surface &surf, byte *palette) {
stream.skip(4); stream.skip(4);
uint width = stream.readUint32BE(); uint width = stream.readUint32BE();
if (width & 1) width++;
uint height = stream.readUint32BE(); uint height = stream.readUint32BE();
stream.skip(20); stream.skip(20);