summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-15 10:42:49 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-15 10:42:49 -0700
commit2928233ac477f85800ea82e51012f9723a5ca02a (patch)
tree9e11cc77ef2fb90d3023804273c246c85bca6dd8 /crawl-ref/source/abl-show.cc
parent1a2749448dcaae0b9802953dbf6815462fc7b2cc (diff)
downloadcrawl-ref-2928233ac477f85800ea82e51012f9723a5ca02a.tar.gz
crawl-ref-2928233ac477f85800ea82e51012f9723a5ca02a.zip
abl-show.cc: fix constant assertion
It's supposed to bomb there, not succeed. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index be34c67611..3d317f1530 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -1255,7 +1255,7 @@ int _calc_breath_ability_range(ability_type ability)
case ABIL_BREATHE_STICKY_FLAME: return 5;
case ABIL_BREATHE_STEAM: return 7;
default:
- ASSERT("Bad breath type!");
+ ASSERT(!"Bad breath type!");
break;
}
return (-2);