summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-06-07 17:21:38 +0200
committerRobert Vollmert <rvollmert@gmx.net>2010-06-07 17:25:19 +0200
commit32bcd3415375d47794ab1466b8e375c006fdafa0 (patch)
tree4ba92ba370cb383c328e5894aff98a2a941ce653 /crawl-ref/source/directn.h
parent19ee085b01a8aadd25c2de6edf9b3bf187f075d9 (diff)
downloadcrawl-ref-32bcd3415375d47794ab1466b8e375c006fdafa0.tar.gz
crawl-ref-32bcd3415375d47794ab1466b8e375c006fdafa0.zip
Trash direction_chooser special command repeat code.
Fixes issue #1681. Entering junk at the "target self" y/n prompt was remaining in the repeat buffer after casting thanks to the special logic there. It would be possible to just flush the buffer after targeting, but I think it's better if the repeat code consistently does nothing but repeat keys. If we ever have a good concept of "last command performed", this can be rethought. Command repeat replays keys and nothing
Diffstat (limited to 'crawl-ref/source/directn.h')
-rw-r--r--crawl-ref/source/directn.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/directn.h b/crawl-ref/source/directn.h
index f0a0d0bb6c..fc8c45c0da 100644
--- a/crawl-ref/source/directn.h
+++ b/crawl-ref/source/directn.h
@@ -102,7 +102,6 @@ public:
bool choose_direction();
private:
- bool choose_again(); // Used when replaying keys
bool choose_compass(); // Used when we only need to choose a direction
bool do_main_loop();