mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
SHERLOCK: SS: Fix Holmes character re-appearing in Lab Table scene
This commit is contained in:
parent
8f9245cfce
commit
0dc9a46bbe
@ -330,8 +330,8 @@ void ScalpelScene::doBgAnim() {
|
||||
}
|
||||
}
|
||||
|
||||
// Draw the person if not animating
|
||||
if (people[HOLMES]._type == CHARACTER && people[HOLMES]._walkLoaded) {
|
||||
// Draw the player if he's active and his walk has been loaded into memory
|
||||
if (people[HOLMES]._type == CHARACTER && people[HOLMES]._walkLoaded && people._holmesOn) {
|
||||
// If Holmes is too far to the right, move him back so he's on-screen
|
||||
int xRight = SHERLOCK_SCREEN_WIDTH - 2 - people[HOLMES]._imageFrame->_frame.w;
|
||||
int tempX = MIN(people[HOLMES]._position.x / FIXED_INT_MULTIPLIER, xRight);
|
||||
|
Loading…
Reference in New Issue
Block a user