mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 08:55:45 +00:00
MADS: Fix for dialog when getting vase
This commit is contained in:
parent
05830e43ee
commit
82b56efc42
@ -421,6 +421,8 @@ void PictureDialog::save() {
|
||||
// Get the inventory frame, and adjust the dialog position to allow for it
|
||||
MSprite *frame = asset->getFrame(0);
|
||||
_position.y = frame->h + 12;
|
||||
if ((_position.y + _height) > _vm->_screen.getHeight())
|
||||
_position.y -= (_position.y + _height) - _vm->_screen.getHeight();
|
||||
|
||||
// Draw the inventory picture
|
||||
frame->copyTo(&_vm->_screen, Common::Point(160 - frame->w / 2, 6),
|
||||
|
Loading…
x
Reference in New Issue
Block a user