mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
DIRECTOR: only use the original sprites when we have to scale down the bitmap cast member
This commit is contained in:
parent
d53064f948
commit
13f5460ca4
@ -288,7 +288,7 @@ void Sprite::setCast(CastMemberID memberID) {
|
||||
Common::Rect dims = _cast->getInitialRect();
|
||||
// strange logic here, need to be fixed
|
||||
if (_cast->_type == kCastBitmap) {
|
||||
if (_width > dims.width() || _height > dims.height()) {
|
||||
if (_width >= dims.width() || _height >= dims.height()) {
|
||||
_width = dims.width();
|
||||
_height = dims.height();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user