aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstrangerke2011-05-25 20:08:30 +0200
committerstrangerke2011-05-25 23:38:55 +0200
commit65a9ef7639c65afa685b2805f52df567e044810b (patch)
tree365fb38c602fbd46d5d853eed6fc32faba37f868
parentbb4df3f115634ba2f719a4ef342879fc73aef246 (diff)
downloadscummvm-rg350-65a9ef7639c65afa685b2805f52df567e044810b.tar.gz
scummvm-rg350-65a9ef7639c65afa685b2805f52df567e044810b.tar.bz2
scummvm-rg350-65a9ef7639c65afa685b2805f52df567e044810b.zip
HUGO: Cosmetic modification, for consistency
-rw-r--r--engines/hugo/console.cpp8
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;
}
/**