diff options
author | Torbjörn Andersson | 2010-01-02 08:53:06 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-01-02 08:53:06 +0000 |
commit | 2165dc1a25bba84bf7712379eb4975219096dd43 (patch) | |
tree | 0e56027254e897ac913fe3857e6be853508a4b93 | |
parent | df94844db0c80e4acb6e44f90478355ad2c6f8d6 (diff) | |
download | scummvm-rg350-2165dc1a25bba84bf7712379eb4975219096dd43.tar.gz scummvm-rg350-2165dc1a25bba84bf7712379eb4975219096dd43.tar.bz2 scummvm-rg350-2165dc1a25bba84bf7712379eb4975219096dd43.zip |
Indentation fix. (Which still leaves a lot that probably ought to be fixed in
this directory...)
svn-id: r46877
-rw-r--r-- | engines/mohawk/video/video.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/engines/mohawk/video/video.cpp b/engines/mohawk/video/video.cpp index d6c6cbcec1..8bdf9d6d8c 100644 --- a/engines/mohawk/video/video.cpp +++ b/engines/mohawk/video/video.cpp @@ -318,24 +318,24 @@ void VideoManager::playMovie(VideoEntry videoEntry) { Common::Event event; while (_vm->_system->getEventManager()->pollEvent(event)) { switch (event.type) { - case Common::EVENT_RTL: - case Common::EVENT_QUIT: + case Common::EVENT_RTL: + case Common::EVENT_QUIT: + continuePlaying = false; + break; + case Common::EVENT_KEYDOWN: + switch (event.kbd.keycode) { + case Common::KEYCODE_SPACE: + _vm->pauseGame(); + break; + case Common::KEYCODE_ESCAPE: continuePlaying = false; break; - case Common::EVENT_KEYDOWN: - switch (event.kbd.keycode) { - case Common::KEYCODE_SPACE: - _vm->pauseGame(); - break; - case Common::KEYCODE_ESCAPE: - continuePlaying = false; - break; - default: - break; - } default: break; } + default: + break; + } } // Cut down on CPU usage |