diff options
Diffstat (limited to 'engines/igor/parts/part_19.cpp')
-rw-r--r-- | engines/igor/parts/part_19.cpp | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/engines/igor/parts/part_19.cpp b/engines/igor/parts/part_19.cpp index e7cf3b4327..26cbea9d83 100644 --- a/engines/igor/parts/part_19.cpp +++ b/engines/igor/parts/part_19.cpp @@ -311,24 +311,11 @@ void IgorEngine::PART_19() { if (_objectsState[59] == 0) { PART_19_HELPER_4(); } else { - showCursor(); - _gameState.igorMoving = false; + enterPartLoop(); while (_currentPart == 190) { - 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); } |