diff options
author | Matthew Hoops | 2010-11-26 06:08:04 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-11-26 06:08:04 +0000 |
commit | abe6baafb917270a86dfe2c35bf9aa5c326f3154 (patch) | |
tree | b9ece71960fbd2333844fc04dc2cf99bf213709c | |
parent | 03df4955636db7a087a4b77d86ff6e62e43140a5 (diff) | |
download | scummvm-rg350-abe6baafb917270a86dfe2c35bf9aa5c326f3154.tar.gz scummvm-rg350-abe6baafb917270a86dfe2c35bf9aa5c326f3154.tar.bz2 scummvm-rg350-abe6baafb917270a86dfe2c35bf9aa5c326f3154.zip |
MOHAWK: Enable the drawImage debug command for all LB games
svn-id: r54491
-rw-r--r-- | engines/mohawk/console.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/engines/mohawk/console.cpp b/engines/mohawk/console.cpp index 0316c40c3c..e25ff030d0 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 <value>\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 |