summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-09 16:04:47 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-09 16:04:47 +0000
commitb174cc45ae14a2bbf69000d2f1293b1eec4b4952 (patch)
tree8d40dd45a5849b91a839ca8e3666e8fd2dd85aa1 /crawl-ref/source/spells4.h
parent05a13a2e67f67dec08be00a23289cf576524cde0 (diff)
downloadcrawl-ref-b174cc45ae14a2bbf69000d2f1293b1eec4b4952.tar.gz
crawl-ref-b174cc45ae14a2bbf69000d2f1293b1eec4b4952.zip
Fix spell power caps not being respected (looks like a long-standing bug.)
Code quality improvements for Twist. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8358 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.h')
-rw-r--r--crawl-ref/source/spells4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells4.h b/crawl-ref/source/spells4.h
index 475180820f..7996dffac9 100644
--- a/crawl-ref/source/spells4.h
+++ b/crawl-ref/source/spells4.h
@@ -32,7 +32,7 @@ bool cast_evaporate(int pow, bolt& beem, int potion);
void cast_fulsome_distillation(int powc);
void cast_forescry(int pow);
bool cast_fragmentation(int powc, const dist& spd);
-void cast_twist(int powc);
+bool cast_twist(int powc, const coord_def& where);
void cast_far_strike(int powc);
void cast_swap(int powc);
bool cast_apportation(int powc, const coord_def& where);