[Scummvm-git-logs] scummvm master -> 642dea8ff84ec92663ad5ead697d6f0a010f651d

dreammaster dreammaster at scummvm.org
Sun Apr 8 01:04:12 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
642dea8ff8 XEEN: Add missing return in event processing switch


Commit: 642dea8ff84ec92663ad5ead697d6f0a010f651d
    https://github.com/scummvm/scummvm/commit/642dea8ff84ec92663ad5ead697d6f0a010f651d
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-04-07T19:04:06-04:00

Commit Message:
XEEN: Add missing return in event processing switch

Changed paths:
    engines/xeen/events.cpp


diff --git a/engines/xeen/events.cpp b/engines/xeen/events.cpp
index bd556d6..414ba6a 100644
--- a/engines/xeen/events.cpp
+++ b/engines/xeen/events.cpp
@@ -93,6 +93,7 @@ void EventsManager::pollEvents() {
 		case Common::EVENT_RBUTTONDOWN:
 			_mousePressed = true;
 			addEvent(false, true);
+			return;
 		case Common::EVENT_LBUTTONUP:
 		case Common::EVENT_RBUTTONUP:
 			_mousePressed = false;





More information about the Scummvm-git-logs mailing list