diff options
Diffstat (limited to 'engines/igor/parts/part_18.cpp')
-rw-r--r-- | engines/igor/parts/part_18.cpp | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/engines/igor/parts/part_18.cpp b/engines/igor/parts/part_18.cpp index 11abb3cf2e..560ee35ccd 100644 --- a/engines/igor/parts/part_18.cpp +++ b/engines/igor/parts/part_18.cpp @@ -182,24 +182,11 @@ void IgorEngine::PART_18() { _currentAction.verb = kVerbWalk; fadeInPalette(768); PART_18_HELPER_2(); - showCursor(); - _gameState.igorMoving = false; + enterPartLoop(); while (_currentPart == 180) { - handleRoomInput(); - if (compareGameTick(1, 16)) { - handleRoomIgorWalk(); - } - if (compareGameTick(19, 32)) { - handleRoomDialogue(); - } - if (compareGameTick(4, 8)) { - handleRoomInventoryScroll(); - } - if (compareGameTick(1)) { - handleRoomLight(); - } - waitForTimer(); + runPartLoop(); } + leavePartLoop(); fadeOutPalette(624); } |