summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-13 17:49:42 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-13 17:49:42 +0000
commitbe6a0a38de9cba44caca289f155d46df6324d0a5 (patch)
tree70eb4fee49e3ea473a14ebdb848a7d0c74e3e5b5 /crawl-ref/source/cloud.cc
parente6525c83826d150eb2a283ce5bf23218cb75f82e (diff)
downloadcrawl-ref-be6a0a38de9cba44caca289f155d46df6324d0a5.tar.gz
crawl-ref-be6a0a38de9cba44caca289f155d46df6324d0a5.zip
Bunch of changes:
Removed unnecessary static_casts<> from branch.cc, improved messages a bit. Removed incorrect caps from entomb(). Changed ornate/legendary bonuses from percentages to flat power bonuses (+150 and +300 respectively.) Ensured at least one Nemelex gift by the time you get the first power. Changed probability of Nemelex liking a gift, made it dependent on piety. Fix warning in cloud.cc. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2850 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/cloud.cc')
-rw-r--r--crawl-ref/source/cloud.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc
index 3d471f41ee..351f1a3773 100644
--- a/crawl-ref/source/cloud.cc
+++ b/crawl-ref/source/cloud.cc
@@ -448,8 +448,6 @@ fog_machine_data random_fog_for_place(int level_number, const level_id &place)
Branch &branch = branches[place.branch];
ASSERT(branch.num_fogs_function != NULL
&& branch.rand_fog_function != NULL);
- fog_machine_data data;
-
branch.rand_fog_function(level_number, data);
return data;
}