summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-22 13:26:51 +0200
committerAdam Borowski <kilobyte@angband.pl>2009-10-22 13:28:12 +0200
commit07c3f86aeedb2507af07b2d343cc422cb90ffda7 (patch)
tree338fcab48f4933b674f0a0155896d6e18303a4cf /crawl-ref/source/abl-show.cc
parent49870f2bc48989467ea4f8c847fd1274cec73944 (diff)
downloadcrawl-ref-07c3f86aeedb2507af07b2d343cc422cb90ffda7.tar.gz
crawl-ref-07c3f86aeedb2507af07b2d343cc422cb90ffda7.zip
Swap transform_cancellable into transform_uncancellable, since that's the default.
It broken normal transformations...
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index f87b97954f..9fb79b0fa3 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -2412,8 +2412,7 @@ std::vector<talent> your_talents(bool check_confused)
_add_talent(talents, ABIL_BOLT_OF_DRAINING, check_confused);
if (you.duration[DUR_TRANSFORMATION]
- && you.attribute[ATTR_TRANSFORMATION] != TRAN_PIG
- && you.transform_cancellable)
+ && you.transform_uncancellable)
{
_add_talent(talents, ABIL_END_TRANSFORMATION, check_confused);
}