From 1ac23aa8584bb8de523cb67abc125b078e0e29c0 Mon Sep 17 00:00:00 2001 From: Vladimir Menshakov Date: Sun, 12 Jun 2011 19:11:24 +0400 Subject: DREAMWEB: added middle mouse key handling --- engines/dreamweb/dreamweb.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index 68cb902ea1..fc2f5a8075 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -128,6 +128,12 @@ void DreamWebEngine::processEvents() { case Common::EVENT_RBUTTONUP: _mouseState &= ~2; break; + case Common::EVENT_MBUTTONDOWN: + _mouseState |= 4; + break; + case Common::EVENT_MBUTTONUP: + _mouseState &= ~4; + break; case Common::EVENT_MOUSEMOVE: _mouse = event.mouse; break; -- cgit v1.2.3