From abe6baafb917270a86dfe2c35bf9aa5c326f3154 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Fri, 26 Nov 2010 06:08:04 +0000 Subject: [PATCH] MOHAWK: Enable the drawImage debug command for all LB games svn-id: r54491 --- engines/mohawk/console.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/engines/mohawk/console.cpp b/engines/mohawk/console.cpp index 0316c40c3c2..e25ff030d0f 100644 --- a/engines/mohawk/console.cpp +++ b/engines/mohawk/console.cpp @@ -668,13 +668,11 @@ void LivingBooksConsole::postEnter() { bool LivingBooksConsole::Cmd_PlaySound(int argc, const char **argv) { if (argc == 1) { DebugPrintf("Usage: playSound \n"); - return true; } _vm->_sound->stopSound(); _vm->_sound->playSound((uint16)atoi(argv[1])); - return false; } @@ -682,7 +680,6 @@ bool LivingBooksConsole::Cmd_StopSound(int argc, const char **argv) { DebugPrintf("Stopping Sound\n"); _vm->_sound->stopSound(); - return true; } @@ -692,11 +689,8 @@ bool LivingBooksConsole::Cmd_DrawImage(int argc, const char **argv) { return true; } - if (_vm->getGameType() == GType_LIVINGBOOKSV1) - DebugPrintf("This isn't supported in the old Living Books games (yet)!\n"); - _vm->_gfx->copyImageToScreen((uint16)atoi(argv[1])); - return _vm->getGameType() != GType_LIVINGBOOKSV1; + return false; } } // End of namespace Mohawk