diff options
| author | Paul Gilbert | 2015-04-14 22:41:18 -0500 | 
|---|---|---|
| committer | Paul Gilbert | 2015-04-14 22:41:18 -0500 | 
| commit | 5b97d581f655eed747a33a69ff7cb5bfe79763fd (patch) | |
| tree | 9a9a035d992def5a807eea49e72f79f77f158910 | |
| parent | 460a84e68f4a633b52a8654f93cdd81a2f3521e4 (diff) | |
| download | scummvm-rg350-5b97d581f655eed747a33a69ff7cb5bfe79763fd.tar.gz scummvm-rg350-5b97d581f655eed747a33a69ff7cb5bfe79763fd.tar.bz2 scummvm-rg350-5b97d581f655eed747a33a69ff7cb5bfe79763fd.zip | |
SHERLOCK: Fix horizontal flipping of Holmes when walking left
| -rw-r--r-- | engines/sherlock/scene.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/engines/sherlock/scene.cpp b/engines/sherlock/scene.cpp index 1ce2183af1..46ddbc425f 100644 --- a/engines/sherlock/scene.cpp +++ b/engines/sherlock/scene.cpp @@ -1229,9 +1229,9 @@ void Scene::doBgAnim() {  		int xRight = SHERLOCK_SCREEN_WIDTH - 2 - people[AL]._imageFrame->_frame.w;  		int tempX = MIN(people[AL]._position.x / 100, xRight); -		bool flipped = people[AL]._frameNumber == WALK_LEFT || people[AL]._frameNumber == STOP_LEFT || -			people[AL]._frameNumber == WALK_UPLEFT || people[AL]._frameNumber == STOP_UPLEFT || -			people[AL]._frameNumber == WALK_DOWNRIGHT || people[AL]._frameNumber == STOP_DOWNRIGHT; +		bool flipped = people[AL]._sequenceNumber == WALK_LEFT || people[AL]._sequenceNumber == STOP_LEFT || +			people[AL]._sequenceNumber == WALK_UPLEFT || people[AL]._sequenceNumber == STOP_UPLEFT || +			people[AL]._sequenceNumber == WALK_DOWNRIGHT || people[AL]._sequenceNumber == STOP_DOWNRIGHT;  		screen._backBuffer1.transBlitFrom(people[AL]._imageFrame->_frame,  			Common::Point(tempX, people[AL]._position.y / 100 - people[AL]._imageFrame->_frame.h), flipped);  	} | 
