summaryrefslogtreecommitdiff
path: root/src/elements/pcln.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-06-28 12:58:16 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-06-28 12:58:16 (GMT)
commit437f13f42458052b7289d7cdc4c36aa3153a076e (patch)
treeaa8d66647f20c55c25c7ec818bc97f1a524363f4 /src/elements/pcln.c
parent3fe82bf525584bfe333013da218b530fd2f277f2 (diff)
downloadpowder-437f13f42458052b7289d7cdc4c36aa3153a076e.zip
powder-437f13f42458052b7289d7cdc4c36aa3153a076e.tar.gz
Powered Breakable clone, Gravity Pump, New menu section for powered elements (needs icon)
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) {