diff options
author | Alyssa Milburn | 2011-08-13 22:06:52 +0200 |
---|---|---|
committer | Alyssa Milburn | 2011-08-13 22:08:42 +0200 |
commit | c3339c15fad1f729dd55d5f4780c5d483643b59c (patch) | |
tree | e680d62d30d8181931797cddb0b2c5606c0c21ce /engines/composer | |
parent | 21b2a7064f143b9542c2878a8ce50708a03697c8 (diff) | |
download | scummvm-rg350-c3339c15fad1f729dd55d5f4780c5d483643b59c.tar.gz scummvm-rg350-c3339c15fad1f729dd55d5f4780c5d483643b59c.tar.bz2 scummvm-rg350-c3339c15fad1f729dd55d5f4780c5d483643b59c.zip |
COMPOSER: Tweak button z-ordering slightly.
This fixes agreeing to make ice cream sundaes in Gregory.
Diffstat (limited to 'engines/composer')
-rw-r--r-- | engines/composer/composer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/composer/composer.cpp b/engines/composer/composer.cpp index 41afc13184..d3252d43b9 100644 --- a/engines/composer/composer.cpp +++ b/engines/composer/composer.cpp @@ -321,7 +321,7 @@ void ComposerEngine::loadLibrary(uint id) { bool inserted = false; for (Common::List<Button>::iterator b = newLib._buttons.begin(); b != newLib._buttons.end(); b++) { - if (button._zorder <= b->_zorder) + if (button._zorder < b->_zorder) continue; newLib._buttons.insert(b, button); inserted = true; |