diff options
author | Gregory Montoir | 2009-07-13 22:19:10 +0000 |
---|---|---|
committer | Gregory Montoir | 2009-07-13 22:19:10 +0000 |
commit | 230bd03913296fdf50f95af38fcaf76543408748 (patch) | |
tree | 6acdb40a9c780a1aefe6bb7b347376f99c55155b | |
parent | b98fdb997da257732fcbf1098f10cc3faede73d4 (diff) | |
download | scummvm-rg350-230bd03913296fdf50f95af38fcaf76543408748.tar.gz scummvm-rg350-230bd03913296fdf50f95af38fcaf76543408748.tar.bz2 scummvm-rg350-230bd03913296fdf50f95af38fcaf76543408748.zip |
tucker: added workaround for original game glitch (tracker item #2597763)
svn-id: r42458
-rw-r--r-- | engines/tucker/tucker.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp index 90c758c0bf..09e9a0d38a 100644 --- a/engines/tucker/tucker.cpp +++ b/engines/tucker/tucker.cpp @@ -1740,6 +1740,10 @@ void TuckerEngine::drawBackgroundSprites() { } void TuckerEngine::drawCurrentSprite() { + // Workaround original game glitch: skip first bud frame drawing when entering location (tracker item #2597763) + if ((_locationNum == 17 || _locationNum == 18) && _currentSpriteAnimationFrame == 16) { + return; + } SpriteFrame *chr = &_spriteFramesTable[_currentSpriteAnimationFrame]; int yPos = _yPosCurrent + _mainSpritesBaseOffset - 54 + chr->yOffset; int xPos = _xPosCurrent; |