diff options
author | strangerke | 2011-03-29 23:54:47 +0200 |
---|---|---|
committer | strangerke | 2011-03-29 23:54:47 +0200 |
commit | 882c042a734eed9006d1d6878865ceb994b7a6d3 (patch) | |
tree | ae31c9d586484a95af37d5993dcd0c88d7da89a8 /engines/hugo/intro.cpp | |
parent | b065007c8f7cd7ca55c1878080d24ade4758ad61 (diff) | |
download | scummvm-rg350-882c042a734eed9006d1d6878865ceb994b7a6d3.tar.gz scummvm-rg350-882c042a734eed9006d1d6878865ceb994b7a6d3.tar.bz2 scummvm-rg350-882c042a734eed9006d1d6878865ceb994b7a6d3.zip |
HUGO: - BSF file is no longer mandatory for H2 and H3 Dos.
- Replace error by a notifyBox in BSF related functions
- Fix cypher (broken in previous commit)
- Add checks on distributor in intro
Diffstat (limited to 'engines/hugo/intro.cpp')
-rw-r--r-- | engines/hugo/intro.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/intro.cpp b/engines/hugo/intro.cpp index 7cd5a0fd17..63e81924c4 100644 --- a/engines/hugo/intro.cpp +++ b/engines/hugo/intro.cpp @@ -262,7 +262,7 @@ void intro_v2d::introInit() { font.drawString(&surf, buffer, 0, 186, 320, _TLIGHTRED, Graphics::kTextAlignCenter); - if (scumm_stricmp(_vm->_boot.distrib, "David P. Gray")) { + if ((*_vm->_boot.distrib != '\0') && (scumm_stricmp(_vm->_boot.distrib, "David P. Gray"))) { // TROMAN, size 10-5 sprintf(buffer, "Distributed by %s.", _vm->_boot.distrib); font.drawString(&surf, buffer, 0, 1, 320, _TLIGHTRED, Graphics::kTextAlignCenter); @@ -307,7 +307,7 @@ void intro_v3d::introInit() { font.drawString(&surf, buffer, 0, 190, 320, _TBROWN, Graphics::kTextAlignCenter); - if (scumm_stricmp(_vm->_boot.distrib, "David P. Gray")) { + if ((*_vm->_boot.distrib != '\0') && (scumm_stricmp(_vm->_boot.distrib, "David P. Gray"))) { sprintf(buffer, "Distributed by %s.", _vm->_boot.distrib); font.drawString(&surf, buffer, 0, 0, 320, _TBROWN, Graphics::kTextAlignCenter); } |