SHERLOCK: Add partial on-screen clipping to blitFrom

This commit is contained in:
Paul Gilbert 2015-03-28 10:32:00 -04:00
parent 91df82c3e1
commit ebda40038b
3 changed files with 51 additions and 24 deletions

View file

@ -257,7 +257,7 @@ void UserInterface::handleInput() {
if (!events._released)
lookScreen(pt);
} else {
personFound = scene._bgShapes[_bgFound]._aType == PERSON && _bgFound != -1;
personFound = _bgFound != -1 && scene._bgShapes[_bgFound]._aType == PERSON;
}
if (events._released && personFound)