SHERLOCK: RT: Fix display of tooltip for on-screen objects

This commit is contained in:
Paul Gilbert 2015-06-15 20:07:20 -04:00
parent f02488fc20
commit e5f00747ed
3 changed files with 3 additions and 2 deletions

View File

@ -232,6 +232,7 @@ Scene::Scene(SherlockEngine *vm): _vm(vm) {
_doBgAnimDone = true;
_tempFadeStyle = 0;
_exitZone = -1;
_doBgAnimDone = false;
}
Scene::~Scene() {

View File

@ -465,7 +465,7 @@ void TattooScene::doBgAnim() {
events.wait(3);
screen._flushScreen = false;
_doBgAnimDone = false;
_doBgAnimDone = true;
ui._drawMenu = false;
for (int idx = 1; idx < MAX_CHARACTERS; ++idx) {

View File

@ -56,7 +56,7 @@ void TattooUserInterface::handleInput() {
TattooEngine &vm = *(TattooEngine *)_vm;
Events &events = *_vm->_events;
TattooScene &scene = *(TattooScene *)_vm->_scene;
Common::Point mousePos = events.mousePos();
Common::Point mousePos = events.mousePos() + _currentScroll;
events.pollEventsAndWait();
_keyState.keycode = Common::KEYCODE_INVALID;