From d09535a4b4ea6844a8f2752f8b97f33b2bb0cf65 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 29 Aug 2016 22:43:54 -0400 Subject: TITANIC: Remove CTrueTalkManager update2 method The original was actually the update method for an audio buffer list. This is thus unneeded in ScummVM, which automatically handles sound updates --- engines/titanic/game_manager.cpp | 2 +- engines/titanic/true_talk/true_talk_manager.cpp | 4 ---- engines/titanic/true_talk/true_talk_manager.h | 2 -- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/engines/titanic/game_manager.cpp b/engines/titanic/game_manager.cpp index 73ec5de993..7d9dc37a10 100644 --- a/engines/titanic/game_manager.cpp +++ b/engines/titanic/game_manager.cpp @@ -164,7 +164,7 @@ void CGameManager::update() { frameMessage(getRoom()); _timers.update(g_vm->_events->getTicksCount()); _trueTalkManager.removeCompleted(); - _trueTalkManager.update2(); + CScreenManager::_screenManagerPtr->_mouseCursor->update(); CViewItem *view = getView(); diff --git a/engines/titanic/true_talk/true_talk_manager.cpp b/engines/titanic/true_talk/true_talk_manager.cpp index 9913f55a8d..c5fd43ebfd 100644 --- a/engines/titanic/true_talk/true_talk_manager.cpp +++ b/engines/titanic/true_talk/true_talk_manager.cpp @@ -219,10 +219,6 @@ void CTrueTalkManager::removeCompleted() { } } -void CTrueTalkManager::update2() { - //warning("CTrueTalkManager::update2"); -} - void CTrueTalkManager::start(CTrueTalkNPC *npc, uint id, CViewItem *view) { TTnpcScript *npcScript = getNpcScript(npc); TTroomScript *roomScript = getRoomScript(); diff --git a/engines/titanic/true_talk/true_talk_manager.h b/engines/titanic/true_talk/true_talk_manager.h index f77c9640db..e891f6112a 100644 --- a/engines/titanic/true_talk/true_talk_manager.h +++ b/engines/titanic/true_talk/true_talk_manager.h @@ -201,8 +201,6 @@ public: */ CGameManager *getGameManager() const; - void update2(); - /** * Start a TrueTalk conversation */ -- cgit v1.2.3