SHERLOCK: Add partial on-screen clipping to blitFrom
This commit is contained in:
parent
91df82c3e1
commit
ebda40038b
3 changed files with 51 additions and 24 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue