From 882c042a734eed9006d1d6878865ceb994b7a6d3 Mon Sep 17 00:00:00 2001 From: strangerke Date: Tue, 29 Mar 2011 23:54:47 +0200 Subject: 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 --- engines/hugo/intro.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/hugo/intro.cpp') 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); } -- cgit v1.2.3