From 542197a891eac799855571fe2849e0dca43bdd2b Mon Sep 17 00:00:00 2001 From: johndoe123 Date: Tue, 28 Jan 2014 17:54:01 +0100 Subject: BBVS: Very small cleanup --- engines/bbvs/bbvs.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'engines/bbvs') 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; -- cgit v1.2.3