summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/tilereg.cc')
-rw-r--r--crawl-ref/source/tilereg.cc12
1 files changed, 2 insertions, 10 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc
index e001386f73..68ed8f5cd9 100644
--- a/crawl-ref/source/tilereg.cc
+++ b/crawl-ref/source/tilereg.cc
@@ -831,15 +831,7 @@ int DungeonRegion::handle_mouse(MouseEvent &event)
|| mouse_control::current_mode() == MOUSE_MODE_MACRO
|| mouse_control::current_mode() == MOUSE_MODE_MORE)
{
- if (event.event == MouseEvent::PRESS
- && event.button == MouseEvent::LEFT)
- {
- return CK_MOUSE_CLICK;
- }
- else
- {
- return 0;
- }
+ return 0;
}
int cx;
@@ -2229,7 +2221,7 @@ int MessageRegion::handle_mouse(MouseEvent &event)
return 0;
if (mouse_control::current_mode() != MOUSE_MODE_COMMAND)
- return CK_MOUSE_CLICK;
+ return 0;
return CONTROL('P');
}