summaryrefslogtreecommitdiff
path: root/src/p_inter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/p_inter.c')
-rw-r--r--src/p_inter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/p_inter.c b/src/p_inter.c
index 64b9bc81..ee91bcd6 100644
--- a/src/p_inter.c
+++ b/src/p_inter.c
@@ -392,8 +392,10 @@ P_TouchSpecialThing
player->armorpoints++; // can go over 100%
if (player->armorpoints > deh_max_armor)
player->armorpoints = deh_max_armor;
+ // deh_green_armor_class only applies to the green armor shirt;
+ // for the armor helmets, armortype 1 is always used.
if (!player->armortype)
- player->armortype = deh_green_armor_class;
+ player->armortype = 1;
player->message = DEH_String(GOTARMBONUS);
break;