diff options
author | Paul Gilbert | 2016-05-05 07:49:46 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:38:26 -0400 |
commit | d712875c02c6e82734f6ba9ea56f8206c51a22fe (patch) | |
tree | e91535d4d0c009a5164d5f8ef6eeec7255c1fcff /engines/titanic/true_talk/true_talk_manager.cpp | |
parent | f75b46792579291e79c17a5e52c863d12eced949 (diff) | |
download | scummvm-rg350-d712875c02c6e82734f6ba9ea56f8206c51a22fe.tar.gz scummvm-rg350-d712875c02c6e82734f6ba9ea56f8206c51a22fe.tar.bz2 scummvm-rg350-d712875c02c6e82734f6ba9ea56f8206c51a22fe.zip |
TITANIC: Renamed TT unnamed script classes to room scripts
Diffstat (limited to 'engines/titanic/true_talk/true_talk_manager.cpp')
-rw-r--r-- | engines/titanic/true_talk/true_talk_manager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/true_talk/true_talk_manager.cpp b/engines/titanic/true_talk/true_talk_manager.cpp index 805ebd368d..c9343d1f39 100644 --- a/engines/titanic/true_talk/true_talk_manager.cpp +++ b/engines/titanic/true_talk/true_talk_manager.cpp @@ -231,18 +231,18 @@ TTNamedScript *CTrueTalkManager::getNpcScript(CGameObject *npc) const { return script; } -TTUnnamedScript *CTrueTalkManager::getRoomScript() const { +TTRoomScript *CTrueTalkManager::getRoomScript() const { CRoomItem *room = _gameManager->getRoom(); - TTUnnamedScript *script = nullptr; + TTRoomScript *script = nullptr; if (room) { int scriptId = room->getScriptId(); if (scriptId) - script = _scripts.getUnnamedScript(scriptId); + script = _scripts.getRoomScript(scriptId); } if (!script) { // Fall back on the default Room script - script = _scripts.getUnnamedScript(110); + script = _scripts.getRoomScript(110); } return script; |