diff options
Diffstat (limited to 'engines/sci/engine/kmisc.cpp')
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index e02590aa3a..848cf189e6 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -503,8 +503,7 @@ reg_t kIconBar(EngineState *s, int argc, reg_t *argv) { switch (argv[0].toUint16()) { case 0: // InitIconBar - for (int i = 0; i < argv[1].toUint16(); i++) - g_sci->_gfxMacIconBar->addIcon(argv[i + 2]); + g_sci->_gfxMacIconBar->initIcons(argv[1].toUint16(), &argv[2]); break; case 1: // DisposeIconBar warning("kIconBar(Dispose)"); |