Skip to content

Commit

Permalink
FULLPIPE: Implement demo-specific help screen
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Dec 11, 2016
1 parent 8f4a662 commit b6bc2e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engines/fullpipe/messagehandlers.cpp
Expand Up @@ -192,7 +192,7 @@ int global_messageHandler1(ExCommand *cmd) {
g_fp->openMap();
cmd->_messageKind = 0;
break;
case 'p':
case Common::KEYCODE_F1:
if (g_fp->_flgCanOpenMap)
g_fp->openHelp();
cmd->_messageKind = 0;
Expand Down
5 changes: 4 additions & 1 deletion engines/fullpipe/modal.cpp
Expand Up @@ -1780,7 +1780,10 @@ void ModalHelp::launch() {
_mainMenuScene = g_fp->accessScene(SC_MAINMENU);

if (_mainMenuScene) {
_bg = _mainMenuScene->getPictureObjectById(PIC_HLP_BGR, 0)->_picture;
if (g_fp->isDemo() && g_fp->getLanguage() == Common::RU_RUS)
_bg = _mainMenuScene->getPictureObjectById(364, 0)->_picture;
else
_bg = _mainMenuScene->getPictureObjectById(PIC_HLP_BGR, 0)->_picture;
_isRunning = 1;
}
}
Expand Down

0 comments on commit b6bc2e0

Please sign in to comment.