diff options
author | Vladimir Menshakov | 2011-06-12 19:11:24 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:34:22 +0200 |
commit | 1ac23aa8584bb8de523cb67abc125b078e0e29c0 (patch) | |
tree | 5dd54aa1ff6212c81b2fd0451e8c8f1feefc95bf | |
parent | 4ba74f73e1315430de0d86e3712a8ad2298f16f8 (diff) | |
download | scummvm-rg350-1ac23aa8584bb8de523cb67abc125b078e0e29c0.tar.gz scummvm-rg350-1ac23aa8584bb8de523cb67abc125b078e0e29c0.tar.bz2 scummvm-rg350-1ac23aa8584bb8de523cb67abc125b078e0e29c0.zip |
DREAMWEB: added middle mouse key handling
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; |