aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/scalpel_journal.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-10-08 08:22:26 -0400
committerPaul Gilbert2015-10-08 08:22:26 -0400
commita1057a3fe5277d560fde84b35f57828857f50948 (patch)
tree1083c047536c34929ae82d8ca06ea60853cf332d /engines/sherlock/scalpel/scalpel_journal.cpp
parent3c6cf2b947a49df918c2f4d6a91e2f176ac39707 (diff)
downloadscummvm-rg350-a1057a3fe5277d560fde84b35f57828857f50948.tar.gz
scummvm-rg350-a1057a3fe5277d560fde84b35f57828857f50948.tar.bz2
scummvm-rg350-a1057a3fe5277d560fde84b35f57828857f50948.zip
SHERLOCK: SS: Move fixBadText from ScalpelJournal to ScalpelTalk
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_journal.cpp')
-rw-r--r--engines/sherlock/scalpel/scalpel_journal.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/sherlock/scalpel/scalpel_journal.cpp b/engines/sherlock/scalpel/scalpel_journal.cpp
index 81db8556f4..5c2b8f77f3 100644
--- a/engines/sherlock/scalpel/scalpel_journal.cpp
+++ b/engines/sherlock/scalpel/scalpel_journal.cpp
@@ -650,14 +650,6 @@ void ScalpelJournal::record(int converseNum, int statementNum, bool replyOnly) {
Journal::record(converseNum, statementNum, replyOnly);
}
-void ScalpelJournal::skipBadText(const byte *&msgP) {
- // WORKAROUND: Skip over bad text in the original game
- const char *BAD_PHRASE1 = "Change Speaker to Sherlock Holmes ";
-
- if (!strncmp((const char *)msgP, BAD_PHRASE1, strlen(BAD_PHRASE1)))
- msgP += strlen(BAD_PHRASE1);
-}
-
} // End of namespace Scalpel
} // End of namespace Sherlock