diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-20 19:32:38 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-20 19:32:38 +0000 |
commit | c917efe2ecd38f449619d7b25160c8053b81e108 (patch) | |
tree | c0c482a7dd4eff5c01b768685a982ae9ea6ff6b3 /crawl-ref/source/ouch.cc | |
parent | 0da6681bc0a2f308f9bca6e030adf9a54bc3b959 (diff) | |
download | crawl-ref-c917efe2ecd38f449619d7b25160c8053b81e108.tar.gz crawl-ref-c917efe2ecd38f449619d7b25160c8053b81e108.zip |
Use ETC_MAGIC for beam animations with unknown effect, so we don't
accidentally leak information about unID'd wands etc.
Some additional space fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10358 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r-- | crawl-ref/source/ouch.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index d288dd0d30..ddd810801d 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -851,9 +851,9 @@ static void _maybe_spawn_jellies(int dam, const char* aux, int how_many = 0; if (dam >= you.hp_max * 0.75) how_many = random2(4) + 2; - else if(dam >= you.hp_max / 2) + else if (dam >= you.hp_max / 2) how_many = random2(2) + 2; - else if(dam >= you.hp_max / 4) + else if (dam >= you.hp_max / 4) how_many = random2(1) + 1; if (how_many > 0) |