summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-title.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-02-13 14:39:08 +0100
committerRaphael Langella <raphael.langella@gmail.com>2011-02-13 14:39:08 +0100
commit5a327252907b1a8fb35f19bf60d37391af465b52 (patch)
tree4fba4bc678271c26366405b2aaec0bf57a49f35e /crawl-ref/source/tilereg-title.h
parent709ee15529a500d4abaa209cf786eeef5364063d (diff)
downloadcrawl-ref-5a327252907b1a8fb35f19bf60d37391af465b52.tar.gz
crawl-ref-5a327252907b1a8fb35f19bf60d37391af465b52.zip
Properly fix clicks counted twice.
Precision menu acts on mouse press now instead of mouse release. This fixes #3426. This reverts commit af62abd18c2e011fb9bf912e33374e7d78a2c733. This reverts commit 7a657cdb01a6fb74ff8cf8fcaeeb81d375a7bb04.
Diffstat (limited to 'crawl-ref/source/tilereg-title.h')
-rw-r--r--crawl-ref/source/tilereg-title.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilereg-title.h b/crawl-ref/source/tilereg-title.h
index 154357aa21..38ed108ff4 100644
--- a/crawl-ref/source/tilereg-title.h
+++ b/crawl-ref/source/tilereg-title.h
@@ -18,7 +18,7 @@ public:
virtual void clear() {};
virtual void run();
- virtual int handle_mouse(MouseEvent &event);
+ virtual int handle_mouse(MouseEvent &event) { return 0; }
void update_message(std::string message);