summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-08 01:10:53 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-08 01:10:53 +0000
commitb19197a1b2bee83fcfc5ae4a4fa6eb6dc2a4d8bd (patch)
tree45626886382b9d1eddd1fba126344f7397e33469 /crawl-ref/source/ouch.cc
parentdff4775f273cbeab4b5025e56230acb7c3893e0d (diff)
downloadcrawl-ref-b19197a1b2bee83fcfc5ae4a4fa6eb6dc2a4d8bd.tar.gz
crawl-ref-b19197a1b2bee83fcfc5ae4a4fa6eb6dc2a4d8bd.zip
Use INSTANT_DEATH instead of -9999 where applicable.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5568 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index f4f4416f0f..cadb9b8372 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -638,7 +638,7 @@ void lose_level()
// must die straightaway.
if (you.experience_level == 1)
{
- ouch( -9999, 0, KILLED_BY_DRAINING );
+ ouch(INSTANT_DEATH, 0, KILLED_BY_DRAINING);
// Return in case death was canceled via wizard mode
return;
}
@@ -682,7 +682,7 @@ void drain_exp(bool announce_full)
if (you.experience == 0)
{
- ouch(-9999, 0, KILLED_BY_DRAINING);
+ ouch(INSTANT_DEATH, 0, KILLED_BY_DRAINING);
// Return in case death was escaped via wizard mode.
return;
}