diff options
author | Paul Gilbert | 2017-02-20 18:14:06 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-02-20 18:14:06 -0500 |
commit | 2dbef2ffd7aad79bc15c7d47163d0555ca396464 (patch) | |
tree | 156a7d55d0365d1ac840c52413672639fd024062 /engines/titanic/npcs | |
parent | 39790f8f16859676fa198611c817ffc946c65c9a (diff) | |
download | scummvm-rg350-2dbef2ffd7aad79bc15c7d47163d0555ca396464.tar.gz scummvm-rg350-2dbef2ffd7aad79bc15c7d47163d0555ca396464.tar.bz2 scummvm-rg350-2dbef2ffd7aad79bc15c7d47163d0555ca396464.zip |
TITANIC: Fixes for Titania's speech
Diffstat (limited to 'engines/titanic/npcs')
-rw-r--r-- | engines/titanic/npcs/titania.cpp | 10 | ||||
-rw-r--r-- | engines/titanic/npcs/titania.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/engines/titanic/npcs/titania.cpp b/engines/titanic/npcs/titania.cpp index b961e0d77c..e0ea4f1459 100644 --- a/engines/titanic/npcs/titania.cpp +++ b/engines/titanic/npcs/titania.cpp @@ -43,7 +43,7 @@ CTitania::CTitania() : CCharacter() { _ear2 = false; _nose = false; _mouth = false; - _showIntro = true; + _showSpeech = true; } void CTitania::save(SimpleFile *file, int indent) { @@ -59,7 +59,7 @@ void CTitania::save(SimpleFile *file, int indent) { file->writeNumberLine(_ear2, indent); file->writeNumberLine(_nose, indent); file->writeNumberLine(_mouth, indent); - file->writeNumberLine(_showIntro, indent); + file->writeNumberLine(_showSpeech, indent); CCharacter::save(file, indent); } @@ -77,7 +77,7 @@ void CTitania::load(SimpleFile *file) { _ear2 = file->readNumber(); _nose = file->readNumber(); _mouth = file->readNumber(); - _showIntro = file->readNumber(); + _showSpeech = file->readNumber(); CCharacter::load(file); } @@ -197,8 +197,8 @@ bool CTitania::ActMsg(CActMsg *msg) { } bool CTitania::EnterViewMsg(CEnterViewMsg *msg) { - if (_showIntro) { - _showIntro = false; + if (_showSpeech) { + _showSpeech = false; disableMouse(); petHide(); diff --git a/engines/titanic/npcs/titania.h b/engines/titanic/npcs/titania.h index 61f8c86018..f94442d317 100644 --- a/engines/titanic/npcs/titania.h +++ b/engines/titanic/npcs/titania.h @@ -46,7 +46,7 @@ private: bool _ear2; bool _nose; bool _mouth; - bool _showIntro; + bool _showSpeech; public: CLASSDEF; CTitania(); |