From 29b5b4afa66287dc382adbd2bfcb8add620d2a0d Mon Sep 17 00:00:00 2001 From: strangerke Date: Mon, 7 Mar 2011 19:40:20 +0100 Subject: HUGO: Fix registration messages for H1 Dos Freeware version (in intro) --- engines/hugo/file.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/hugo/file.cpp') diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp index 740513d7b2..c287ebf6e8 100644 --- a/engines/hugo/file.cpp +++ b/engines/hugo/file.cpp @@ -563,6 +563,8 @@ void FileManager::readBootFile() { if (_vm->_gameVariant == kGameVariantH1Dos) { //TODO initialize properly _boot structure warning("readBootFile - Skipping as H1 Dos may be a freeware"); + memset(_vm->_boot.distrib, '\0', sizeof(_vm->_boot.distrib)); + _vm->_boot.registered = kRegFreeware; return; } else { error("Missing startup file"); -- cgit v1.2.3