summaryrefslogtreecommitdiff
path: root/src/elements/pcln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/pcln.c')
-rw-r--r--src/elements/pcln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/pcln.c b/src/elements/pcln.c
index 3ba431c..3f785bb 100644
--- a/src/elements/pcln.c
+++ b/src/elements/pcln.c
@@ -40,7 +40,7 @@ int update_PCLN(UPDATE_FUNC_ARGS) {
(r&0xFF)!=PT_BCLN && (r&0xFF)!=PT_SPRK &&
(r&0xFF)!=PT_NSCN && (r&0xFF)!=PT_PSCN &&
(r&0xFF)!=PT_STKM && (r&0xFF)!=PT_STKM2 &&
- (r&0xFF)<PT_NUM)
+ (r&0xFF)!=PT_PBCN && (r&0xFF)<PT_NUM)
parts[i].ctype = r&0xFF;
}
if (parts[i].ctype>0 && parts[i].ctype<PT_NUM && parts[i].life==10) {