diff options
-rw-r--r-- | engines/hugo/console.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/hugo/console.cpp b/engines/hugo/console.cpp index 0afd991728..a6acb63852 100644 --- a/engines/hugo/console.cpp +++ b/engines/hugo/console.cpp @@ -58,10 +58,10 @@ bool HugoConsole::Cmd_gotoScreen(int argc, const char **argv) { if (argc != 2) { DebugPrintf("Usage: %s <screen number>\n", argv[0]); return true; - } else { - _vm->_scheduler->newScreen(strToInt(argv[1])); - return false; - } + } + + _vm->_scheduler->newScreen(strToInt(argv[1])); + return false; } /** |