aboutsummaryrefslogtreecommitdiff
path: root/engines/bbvs
diff options
context:
space:
mode:
authorjohndoe1232014-01-28 17:54:01 +0100
committerjohndoe1232014-01-30 20:16:40 +0100
commit542197a891eac799855571fe2849e0dca43bdd2b (patch)
tree380329c58ebaf89ddf72834f8cc5a0106c726d6a /engines/bbvs
parentea519818e21dadbe18a8943962ba22b1b9574559 (diff)
downloadscummvm-rg350-542197a891eac799855571fe2849e0dca43bdd2b.tar.gz
scummvm-rg350-542197a891eac799855571fe2849e0dca43bdd2b.tar.bz2
scummvm-rg350-542197a891eac799855571fe2849e0dca43bdd2b.zip
BBVS: Very small cleanup
Diffstat (limited to 'engines/bbvs')
-rw-r--r--engines/bbvs/bbvs.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/bbvs/bbvs.cpp b/engines/bbvs/bbvs.cpp
index 57284a5f14..5f433e0ca2 100644
--- a/engines/bbvs/bbvs.cpp
+++ b/engines/bbvs/bbvs.cpp
@@ -183,9 +183,8 @@ Common::Error BbvsEngine::run() {
else if (_currSceneNum == kMainMenu)
runMainMenu();
else if (_currSceneNum == kCredits &&
- (_mouseButtons & (kLeftButtonClicked | kRightButtonClicked))) {
- _mouseButtons &= ~kLeftButtonClicked;
- _mouseButtons &= ~kRightButtonClicked;
+ (_mouseButtons & kAnyButtonClicked)) {
+ _mouseButtons &= ~kAnyButtonClicked;
_newSceneNum = kMainMenu;
}
if (_playVideoNumber > 0) {
@@ -2042,8 +2041,6 @@ void BbvsEngine::walkFoundPath(int count) {
Common::Point destPt = _destWalkAreaPt, newDestPt;
- // TODO This needs some cleanup but seems to work
-
while (1) {
int index = 0;