mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
SHERLOCK: Fix placement of Sherlock
This commit is contained in:
parent
b313079654
commit
989d268974
@ -117,6 +117,9 @@ public:
|
||||
void adjustSprite();
|
||||
|
||||
void checkSprite();
|
||||
|
||||
int frameWidth() const { return _imageFrame ? _imageFrame->_frame.w : 0; }
|
||||
int frameHeight() const { return _imageFrame ? _imageFrame->_frame.h : 0; }
|
||||
};
|
||||
|
||||
struct ActionType {
|
||||
|
@ -777,7 +777,8 @@ void Scene::updateBackground() {
|
||||
player._sequenceNumber == WALK_DOWNRIGHT || player._sequenceNumber == STOP_DOWNRIGHT;
|
||||
|
||||
surface.transBlitFrom(player._imageFrame->_frame,
|
||||
Common::Point(player._position.x / 100, player._position.y / 100), flipped);
|
||||
Common::Point(player._position.x / 100,
|
||||
player._position.y / 100 - player.frameHeight()), flipped);
|
||||
}
|
||||
|
||||
// Draw all static and active shapes that are NORMAL and are in front of the player
|
||||
|
Loading…
Reference in New Issue
Block a user