summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-02-09 10:45:04 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-02-09 10:45:04 +0000
commit94c4ea8713f2337b462252fcc38bbe9f843c7913 (patch)
tree24ff2fc4a69b7b373889e69b47722b5499626ace /crawl-ref/source/makeitem.cc
parentd3cb6838b377b68074ffe35669fd4a3fa8a767c0 (diff)
downloadcrawl-ref-94c4ea8713f2337b462252fcc38bbe9f843c7913.tar.gz
crawl-ref-94c4ea8713f2337b462252fcc38bbe9f843c7913.zip
Bug 1889975: Fix randart rings of teleportation not getting
life protection. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3410 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 1f8b8db137..f36735c5ba 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -1998,9 +1998,9 @@ static special_armour_type determine_armour_ego(const item_def& item,
const int tmp = random2(600) + 200 * (item.sub_type != ARM_BOOTS);
rc = (tmp < 200) ? SPARM_RUNNING :
- (tmp < 400) ? SPARM_LEVITATION :
- (tmp < 600) ? SPARM_STEALTH :
- (tmp < 700) ? SPARM_COLD_RESISTANCE : SPARM_FIRE_RESISTANCE;
+ (tmp < 400) ? SPARM_LEVITATION :
+ (tmp < 600) ? SPARM_STEALTH :
+ (tmp < 700) ? SPARM_COLD_RESISTANCE : SPARM_FIRE_RESISTANCE;
break;
}