summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2009-12-27 18:32:52 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2009-12-27 18:36:02 +0530
commitbd29fc66d15166b3c34dcad3abaea54e0e3bacbc (patch)
treeab0ba297559ee5b482c03570fb90fdc4c0f9d880 /crawl-ref/source/misc.cc
parent382a17cfc82a018bc2c071a6fed85150fe3d2154 (diff)
downloadcrawl-ref-bd29fc66d15166b3c34dcad3abaea54e0e3bacbc.tar.gz
crawl-ref-bd29fc66d15166b3c34dcad3abaea54e0e3bacbc.zip
Add tides to the Shoals.
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index 5697133c4a..3312bfcf94 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -36,6 +36,7 @@
#include "coordit.h"
#include "database.h"
#include "delay.h"
+#include "dgn-shoals.h"
#include "directn.h"
#include "dgnevent.h"
#include "directn.h"
@@ -3092,6 +3093,7 @@ void run_environment_effects()
}
run_corruption_effects(you.time_taken);
+ shoals_apply_tides(div_rand_round(you.time_taken, 10));
}
coord_def pick_adjacent_free_square(const coord_def& p)