mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-06 01:31:39 +00:00
SHERLOCK: RT: Fix display of tooltip for on-screen objects
This commit is contained in:
parent
f02488fc20
commit
e5f00747ed
@ -232,6 +232,7 @@ Scene::Scene(SherlockEngine *vm): _vm(vm) {
|
|||||||
_doBgAnimDone = true;
|
_doBgAnimDone = true;
|
||||||
_tempFadeStyle = 0;
|
_tempFadeStyle = 0;
|
||||||
_exitZone = -1;
|
_exitZone = -1;
|
||||||
|
_doBgAnimDone = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Scene::~Scene() {
|
Scene::~Scene() {
|
||||||
|
@ -465,7 +465,7 @@ void TattooScene::doBgAnim() {
|
|||||||
events.wait(3);
|
events.wait(3);
|
||||||
|
|
||||||
screen._flushScreen = false;
|
screen._flushScreen = false;
|
||||||
_doBgAnimDone = false;
|
_doBgAnimDone = true;
|
||||||
ui._drawMenu = false;
|
ui._drawMenu = false;
|
||||||
|
|
||||||
for (int idx = 1; idx < MAX_CHARACTERS; ++idx) {
|
for (int idx = 1; idx < MAX_CHARACTERS; ++idx) {
|
||||||
|
@ -56,7 +56,7 @@ void TattooUserInterface::handleInput() {
|
|||||||
TattooEngine &vm = *(TattooEngine *)_vm;
|
TattooEngine &vm = *(TattooEngine *)_vm;
|
||||||
Events &events = *_vm->_events;
|
Events &events = *_vm->_events;
|
||||||
TattooScene &scene = *(TattooScene *)_vm->_scene;
|
TattooScene &scene = *(TattooScene *)_vm->_scene;
|
||||||
Common::Point mousePos = events.mousePos();
|
Common::Point mousePos = events.mousePos() + _currentScroll;
|
||||||
|
|
||||||
events.pollEventsAndWait();
|
events.pollEventsAndWait();
|
||||||
_keyState.keycode = Common::KEYCODE_INVALID;
|
_keyState.keycode = Common::KEYCODE_INVALID;
|
||||||
|
Loading…
Reference in New Issue
Block a user