diff options
author | Eugene Sandulenko | 2011-08-14 21:37:32 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2011-08-14 21:40:07 +0100 |
commit | b83cf61bfb9ac386aee2cc0ce2a7f72e41725523 (patch) | |
tree | cc194bf29c0a43791789bebbfc379cf0befc7733 /engines/agi/sprite.cpp | |
parent | 273e37f7263ab30b445a8123af52fe81ddb762d0 (diff) | |
download | scummvm-rg350-b83cf61bfb9ac386aee2cc0ce2a7f72e41725523.tar.gz scummvm-rg350-b83cf61bfb9ac386aee2cc0ce2a7f72e41725523.tar.bz2 scummvm-rg350-b83cf61bfb9ac386aee2cc0ce2a7f72e41725523.zip |
Checked V1 instructions till 0x42
Diffstat (limited to 'engines/agi/sprite.cpp')
-rw-r--r-- | engines/agi/sprite.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/agi/sprite.cpp b/engines/agi/sprite.cpp index cb081065de..cec0895073 100644 --- a/engines/agi/sprite.cpp +++ b/engines/agi/sprite.cpp @@ -604,7 +604,9 @@ void SpritesMgr::addToPic(int view, int loop, int cel, int x, int y, int pri, in // If margin is 0, 1, 2, or 3, the base of the cel is // surrounded with a rectangle of the corresponding priority. // If margin >= 4, this extra margin is not shown. - if (mar < 4) { + // + // -1 indicates ignore and is set for V1 + if (mar < 4 && mar != -1) { // add rectangle around object, don't clobber control // info in priority data. The box extends to the end of // its priority band! |