diff options
author | Martin Kiewitz | 2016-01-30 21:07:16 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-01-30 21:07:16 +0100 |
commit | 56423709482a54f6b65488b80bd674b1965c48c2 (patch) | |
tree | 5e31e3160e9abc2a5380b752764318116e8d3789 /engines/sherlock | |
parent | 7737f2f049588ed12e17d466d9e8616583ef12be (diff) | |
download | scummvm-rg350-56423709482a54f6b65488b80bd674b1965c48c2.tar.gz scummvm-rg350-56423709482a54f6b65488b80bd674b1965c48c2.tar.bz2 scummvm-rg350-56423709482a54f6b65488b80bd674b1965c48c2.zip |
SHERLOCK: SS: don't setup font for non-play demo
Do not setup font for non-playable demo
Non-playable demo does not have any font at all
Fixes non-playable demo not working
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/fonts.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/sherlock/fonts.cpp b/engines/sherlock/fonts.cpp index 4d0991a47c..9b58eea17c 100644 --- a/engines/sherlock/fonts.cpp +++ b/engines/sherlock/fonts.cpp @@ -53,6 +53,15 @@ void Fonts::setFont(int fontNum) { // Discard previous font delete _font; + if (IS_SERRATED_SCALPEL) { + // Scalpel + if ((_vm->isDemo()) && (!_vm->_interactiveFl)) { + // Do not set up any font for the non-interactive demo of scalpel + // The non-interactive demo does not contain any font at all + return; + } + } + Common::String fontFilename; if (_vm->getPlatform() != Common::kPlatform3DO) { |