summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-15 13:46:30 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-15 13:46:30 +0000
commitdbd5882b0df7cf545feb527e4a23160d6b2a5a02 (patch)
tree1ae136631269734a19ae44e49de3455041d5c8a6 /crawl-ref/source/delay.cc
parentdfb9ecbf8339b439ebfa46614f1ba7bac22d2270 (diff)
downloadcrawl-ref-dbd5882b0df7cf545feb527e4a23160d6b2a5a02.tar.gz
crawl-ref-dbd5882b0df7cf545feb527e4a23160d6b2a5a02.zip
Apply trunk r10224 to 0.5.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10225 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index 17693fdc85..88df3d4958 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -753,7 +753,7 @@ void clear_macro_process_key_delay()
_pop_delay();
}
-void handle_delay( void )
+void handle_delay()
{
if (!you_are_delayed())
return;
@@ -1416,6 +1416,12 @@ static void _finish_delay(const delay_queue_item &delay)
#endif
}
+void finish_last_delay()
+{
+ delay_queue_item &delay = you.delay_queue.front();
+ _finish_delay(delay);
+}
+
void armour_wear_effects(const int item_slot)
{
const unsigned int old_talents = your_talents(false).size();