mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
Revert "DIRECTOR: Add puppet check on kTheCastNum"
This reverts commit d650738f9f
.
This change caused several scenes to render incorrectly (e.g. the
witches cauldron on the Chop Suey map screen).
This commit is contained in:
parent
ca0c5c800d
commit
7197d470d3
@ -1279,13 +1279,6 @@ void Lingo::setTheSprite(Datum &id1, int field, Datum &d) {
|
||||
{
|
||||
int castId = d.asCastId();
|
||||
if (castId != sprite->_castId) {
|
||||
// WORKAROUND: Chop Suey cursor is not marked puppet, so it will flash
|
||||
// unnecessarily on frame change unless it is puppet.
|
||||
if (!sprite->_puppet) {
|
||||
warning("setTheSprite(): kTheCastNum: Sprite %d not a puppet", id);
|
||||
sprite->_puppet = true;
|
||||
}
|
||||
|
||||
g_director->getCurrentWindow()->addDirtyRect(channel->getBbox());
|
||||
channel->setCast(castId);
|
||||
channel->_dirty = true;
|
||||
|
Loading…
Reference in New Issue
Block a user