COMPOSER: Tweak button z-ordering slightly.

This fixes agreeing to make ice cream sundaes in Gregory.
This commit is contained in:
Alyssa Milburn 2011-08-13 22:06:52 +02:00
parent 21b2a7064f
commit c3339c15fa

View File

@ -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;