GOB: a few format fixes

This commit is contained in:
Simon Delamarre 2022-10-29 00:43:41 +02:00 committed by Eugene Sandulenko
parent 012b520872
commit dd0748fa66
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -333,7 +333,7 @@ bool SavePartSprite::read(Common::ReadStream &stream) {
uint32 width = stream.readUint32LE();
uint32 height = stream.readUint32LE();
if (width*height != _width*_height)
if (width * height != _width * _height)
return false;
// If it's in the current format, the true color flag has to be the same too
@ -380,7 +380,7 @@ bool SavePartSprite::readPalette(const byte *palette) {
bool SavePartSprite::readSprite(const Surface &sprite) {
// The sprite's dimensions have to fit
if (((uint32)sprite.getWidth()*sprite.getHeight()) != _width*_height)
if (((uint32)sprite.getWidth() * sprite.getHeight()) != _width * _height)
return false;
if (_trueColor) {